Xymon Mailing List Archive search

pageset question

list Steve Aiello
Wed, 31 Jan 2007 18:49:40 -0500
Message-Id: <user-60674652e48b@xymon.invalid>

I see in the docs that a BBWEB definition is being made before calling
bbgen. I do that also when making alternative pageset using BBGEND. For
the servers to be added, you may need to define this, i.e.

BBWEB="/hobbit/os" $BBHOME/bin/bbgen --pageset=os
/opt/hobbit/server/www/os
-----Original Message-----
From: user-289916ae803e@xymon.invalid [mailto:user-289916ae803e@xymon.invalid] Sent: Wednesday, January 31, 2007 5:35 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Re: pageset question


Thanks for the assistance but I'm still having no luck.   I did change the
bb-hosts section to use ossubpage.  I am running this manually from the command line so I haven't added it to hobbitlaunch yet.  I plan on doing that once I get it working.  It creates the page and both subpages properly but doesn't add the server into the subpage.  I can only get it working by using OS:* but then it puts the server in the top page and not in the subpages like I want it.  Is there something simple that I am missing here?

ospage unix Unix Servers
ossubpage unix-aix AIX
ossubpage unix-sun SUN


0.0.0.0  nsk-208 # OS:unix-sun

bbgen --pageset=os /opt/hobbit/server/www/os
2007-01-31 17:23:20 Warning: Cannot find any target page named 'unix-sun' in set 'os' - dropping host 'nsk-208'


###########################################################
Hi Henrik,
I asked this question last month and have had no luck with it.

I've tried to get pagesets working and I am having issues getting the servers to show up in the subpage or group section of the page I created. I can only get a server to show up by using OS:*.  Is there anything I am missing?  I am running bbgen 4.1.2 and I also tried it on a server running bbgen 4.2 with the same results.  I have gone over the bbgen man pages and used the same pageset as in the example

This is the bb-hosts pageset section

ospage unix Unix Servers
ossubpagepage unix-aix AIX
ossubpagepage unix-sun SUN


This is the server line in bb-hosts
0.0.0.0  nsk-208 # OS:unix-sun
0.0.0.0  nsk-209 # OS:*

When I run bbgen I get the following error.

bbgen --pageset=os /opt/hobbit/server/www/os
2006-12-13 15:34:26 Warning: Cannot find any target page named 'unix-sun' in set 'os' - dropping host 'nsk-208'

Any help is much appreciated.

Thanks,
Tim


This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.