Xymon 4.2.3 / Trouble with alternate pagesets
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues: 1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command: BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/ ...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me. 2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank. I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck. Any ideas or questions? - -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBSQeMACgkQmb+gadEcsb7L6ACgnnOq3W9FLQP2LBknrxNX7lPU jUYAoNe6nksQCCMz2EUjabs6DvRej/Kj =2mWI -----END PGP SIGNATURE-----
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Any ideas here? I'm pretty sure I followed the directions correctly.
▸
On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all, A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues: 1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command: BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/ ...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me. 2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank. I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck. Any ideas or questions?
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBUSz0ACgkQmb+gadEcsb719wCgmljpngrGiMOHSOipSOfRlQNb
JSwAoJVdKpHzzfNsx0OhylAitcokoJiz
=FKN2
-----END PGP SIGNATURE-----
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Does no one use this feature, or does it "just work" for others?
▸
On 09/15/2012 05:32 AM, Ryan Novosielski wrote:Any ideas here? I'm pretty sure I followed the directions correctly. On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all,A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues:1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command:BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me.2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank.I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck.Any ideas or questions?
_______________________________________________ Xymon mailing list Xymon at xymon.com
▸
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBhTBkACgkQmb+gadEcsb7TrgCeOqFE61OlsmHn3LsMqLvchxUn
F9EAoIKJllqJcvJk4of5AfwSHXmV/Oy9
=FKU7
-----END PGP SIGNATURE-----
list Larry Barber
I use it extensively and have never had a problem with it. Maybe if you could post a fragment of your alternate page sets definitions and a couple of lines from hosts.cfg? Thanks, Larry Barber
▸
On Tue, Sep 25, 2012 at 1:15 AM, Ryan Novosielski <user-ae4522577e16@xymon.invalid>wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Does no one use this feature, or does it "just work" for others? On 09/15/2012 05:32 AM, Ryan Novosielski wrote:Any ideas here? I'm pretty sure I followed the directions correctly. On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all,A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues:1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command:BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me.2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank.I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck.Any ideas or questions?_______________________________________________ Xymon mailing list Xymon at xymon.com- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBhTBkACgkQmb+gadEcsb7TrgCeOqFE61OlsmHn3LsMqLvchxUn F9EAoIKJllqJcvJk4of5AfwSHXmV/Oy9 =FKU7 -----END PGP SIGNATURE-----
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here are my alternate pages: # Offer alternate view by physical location locpage nwk Newark Campus locsubpage c630a MSB C630A, IST/EI-AS Non-Production Data Center locsubpage a538 MSB A538, IST/EI Data Center locpage msu Montclair State University locsubpage uh6 University Hall 6th Fl, MSU-Hosted Data Center locpage pisc Piscataway Campus locsubpage sb11 RWJMS S-B11, IST/EI Data Center And here are some from the hosts: subpage lumtst Luminis Testing/Development group-compress <H3><I>Luminis Testing/Development</I></H3> 10.136.100.125 blaven.umdnj.edu # CLIENT:blaven LOC:sb11 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.35 tryfan.umdnj.edu # CLIENT:tryfan LOC:a538 noconn !telnet !ftp 10.136.100.121 alasdair.umdnj.edu # CLIENT:alasdair LOC:sb11 10.136.100.124 storr.umdnj.edu # CLIENT:storr LOC:sb11 10.32.8.244 lomand.umdnj.edu # CLIENT:lomand LOC:a538 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.243 lum4test.umdnj.edu # CLIENT:lum4test LOC:a538 I don't have locations defined on every host in the file (because some of them I don't care about showing really). I'm assuming that's alright. Anything jumping out at anyone?
▸
On 09/25/2012 09:33 AM, Larry Barber wrote:I use it extensively and have never had a problem with it. Maybe if you could post a fragment of your alternate page sets definitions and a couple of lines from hosts.cfg? Thanks, Larry Barber On Tue, Sep 25, 2012 at 1:15 AM, Ryan Novosielski <user-ae4522577e16@xymon.invalid <mailto:user-ae4522577e16@xymon.invalid>> wrote: Does no one use this feature, or does it "just work" for others? On 09/15/2012 05:32 AM, Ryan Novosielski wrote:Any ideas here? I'm pretty sure I followed the directions correctly.On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all,A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues:1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command:BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me.2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank.I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck.Any ideas or questions?
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBiGlMACgkQmb+gadEcsb6jIgCfYgrPUNmRQelXkHDER5Z1fZTi
VZoAnRO9ZRxmURDBbC+mSZzYYXLBnfHz
=/tlJ
-----END PGP SIGNATURE-----
list Torsten Richter
Hi Ryan, as I wrote in my mail yesterday I think you need to use the locgroup statement for every locsubpage and then add a LOC:a538,1 to your bb-hosts. I don't think that it will work without this statement. Regards Torsten Ryan Novosielski <user-ae4522577e16@xymon.invalid> hat am 25. September 2012 um 22:55 geschrieben:
▸
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here are my alternate pages: # Offer alternate view by physical location locpage nwk Newark Campus locsubpage c630a MSB C630A, IST/EI-AS Non-Production Data Center locsubpage a538 MSB A538, IST/EI Data Center locpage msu Montclair State University locsubpage uh6 University Hall 6th Fl, MSU-Hosted Data Center locpage pisc Piscataway Campus locsubpage sb11 RWJMS S-B11, IST/EI Data Center And here are some from the hosts: subpage lumtst Luminis Testing/Development group-compress <H3><I>Luminis Testing/Development</I></H3> 10.136.100.125 blaven.umdnj.edu # CLIENT:blaven LOC:sb11 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.35 tryfan.umdnj.edu # CLIENT:tryfan LOC:a538 noconn !telnet !ftp 10.136.100.121 alasdair.umdnj.edu # CLIENT:alasdair LOC:sb11 10.136.100.124 storr.umdnj.edu # CLIENT:storr LOC:sb11 10.32.8.244 lomand.umdnj.edu # CLIENT:lomand LOC:a538 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.243 lum4test.umdnj.edu # CLIENT:lum4test LOC:a538 I don't have locations defined on every host in the file (because some of them I don't care about showing really). I'm assuming that's alright. Anything jumping out at anyone? On 09/25/2012 09:33 AM, Larry Barber wrote:I use it extensively and have never had a problem with it. Maybe if you could post a fragment of your alternate page sets definitions and a couple of lines from hosts.cfg? Thanks, Larry Barber On Tue, Sep 25, 2012 at 1:15 AM, Ryan Novosielski <user-ae4522577e16@xymon.invalid <mailto:user-ae4522577e16@xymon.invalid>> wrote: Does no one use this feature, or does it "just work" for others? On 09/15/2012 05:32 AM, Ryan Novosielski wrote:Any ideas here? I'm pretty sure I followed the directions correctly.On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all,A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues:1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command:BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me.2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank.I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck.Any ideas or questions?- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBiGlMACgkQmb+gadEcsb6jIgCfYgrPUNmRQelXkHDER5Z1fZTi VZoAnRO9ZRxmURDBbC+mSZzYYXLBnfHz =/tlJ -----END PGP SIGNATURE-----
list Ryan Novosielski
Thanks, I will give that a try and see how it works. Sent from my Verizon Wireless BlackBerry -----Original Message----- From: "user-c862b499d9fa@xymon.invalid" <user-c862b499d9fa@xymon.invalid> Sender: xymon-bounces at xymon.com Date: Wed, 26 Sep 2012 11:31:27 To: <xymon at xymon.com> Reply-to: "user-c862b499d9fa@xymon.invalid" <user-c862b499d9fa@xymon.invalid> Subject: Re: [Xymon] Xymon 4.2.3 / Trouble with alternate pagesets
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sadly, this had no impact either. I did find it was correctly reading the file by accidentally messing up the substitution for one of the locsubpages, with errors appearing in the bbgen-loc.log. Now it's back to silently generating empty pages. Very odd. But no one has confirmed this working in 4.2.3 that I have seen however.
▸
On 09/26/2012 05:31 AM, user-c862b499d9fa@xymon.invalid wrote:Hi Ryan, as I wrote in my mail yesterday I think you need to use the locgroup statement for every locsubpage and then add a LOC:a538,1 to your bb-hosts. I don't think that it will work without this statement. Regards Torsten Ryan Novosielski <user-ae4522577e16@xymon.invalid> hat am 25. September 2012 um 22:55 geschrieben: Here are my alternate pages: # Offer alternate view by physical location locpage nwk Newark Campus locsubpage c630a MSB C630A, IST/EI-AS Non-Production Data Center locsubpage a538 MSB A538, IST/EI Data Center locpage msu Montclair State University locsubpage uh6 University Hall 6th Fl, MSU-Hosted Data Center locpage pisc Piscataway Campus locsubpage sb11 RWJMS S-B11, IST/EI Data Center And here are some from the hosts: subpage lumtst Luminis Testing/Development group-compress <H3><I>Luminis Testing/Development</I></H3> 10.136.100.125 blaven.umdnj.edu # CLIENT:blaven LOC:sb11 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.35 tryfan.umdnj.edu # CLIENT:tryfan LOC:a538 noconn !telnet !ftp 10.136.100.121 alasdair.umdnj.edu # CLIENT:alasdair LOC:sb11 10.136.100.124 storr.umdnj.edu # CLIENT:storr LOC:sb11 10.32.8.244 lomand.umdnj.edu # CLIENT:lomand LOC:a538 "DOWNTIME=ldap,ldaps,sslcert:*:2200:2300:Development/Test Systems Cold Backup" 10.32.8.243 lum4test.umdnj.edu # CLIENT:lum4test LOC:a538 I don't have locations defined on every host in the file (because some of them I don't care about showing really). I'm assuming that's alright. Anything jumping out at anyone? On 09/25/2012 09:33 AM, Larry Barber wrote:I use it extensively and have never had a problem with it. Maybe if you could post a fragment of your alternate page sets definitions and a couple of lines from hosts.cfg?Thanks, Larry BarberOn Tue, Sep 25, 2012 at 1:15 AM, Ryan Novosielski <user-ae4522577e16@xymon.invalid <mailto:user-ae4522577e16@xymon.invalid>> wrote:Does no one use this feature, or does it "just work" for others?On 09/15/2012 05:32 AM, Ryan Novosielski wrote:Any ideas here? I'm pretty sure I followed the directions correctly.On 09/13/2012 04:28 PM, Ryan Novosielski wrote:Hi all,A couple of problems with alternate pagesets on Xymon 4.2.3 (I'll be upgrading to 4.3.x shortly). Just to give a little background information, I have a virtualhost (xymon) pointing / on xymon to /opt/xymon/server/www . I also have one server running the Xymon display and two Solaris zones running half of the network tests each (so three different places where the bb-hosts file exists). The issues:1) All of the links/embedded images are asking for /hobbit/gifs/<imgfile>.gif, despite the fact that this is the code I'm using on the bbgen command:BBWEB="/loc" $BBHOME/bin/bbgen --pageset=loc $BBHOME/www/loc/...as per the manual. Adding a symbolic link in the / directory (in this case /opt/xymon/server/www) hobbit -> . solves the problem, but it makes no sense to me.2) bbgen runs fine, generates the whole webpage structure, but all of the subpages where the hosts are supposed to appear are blank.I've used xxpage and xxsubpage and then defined on the host lines XX:<subpagename>. Originally I had the xxpage/xxsubpage stuff at the bottom of the file and noticed that doesn't work, and I moved it to the top and now this is where I'm stuck.Any ideas or questions?_______________________________________________ Xymon mailing list Xymon at xymon.com
- -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBjKboACgkQmb+gadEcsb6tbQCg0JOaParTGQ5pfGzf6zGNkdZS
B7YAn3o5xXyEt16YdrOJZM8T7Zvpy57r
=4IaZ
-----END PGP SIGNATURE-----