Special bb-hosts file just for reporting
Is there any way that I can have a special customized bb-hosts file that I use just for generating an availability report?
For example, I want to have a bb-hosts file that has friendly COMMENT tags, etc and that is grouped the way that our service catalog is grouped. This way I can generate an availability report that makes sense when demonstrating to the executive team.
However, I want the layout of my normal monitoring system to be layed out logically in the way that makes sense to our IT team.
Is there any way to run a command that will generate an availability report using a different bb-hosts file?
Thanks!
Harold Ballinger IT Manager Heritage Healthcare, Inc. (888) 335-2620 | helpdesk (864) 224-3626 | office (864) 224-3093 | fax
[cid:image001.jpg at 01CA5193.7895DC50]
Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>
In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <hballinger at heritage-healthcare.com> writes:
Is there any way to run a command that will generate an availability report= using a different bb-hosts file?
Just set the BBHOSTS environment variable to point at your special bb-hosts file before running the "bbgen" command that generates the report.
Regards, Henrik
That sure beats cloning the entire monitoring server, renaming the bb-hosts and running the report offline on the clone :)
Thanks sooooo much! I will try it out this weekend.
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Wednesday, October 21, 2009 4:27 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Special bb-hosts file just for reporting
In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <hballinger at heritage-healthcare.com> writes:
Is there any way to run a command that will generate an availability report= using a different bb-hosts file?
Just set the BBHOSTS environment variable to point at your special bb-hosts file before running the "bbgen" command that generates the report.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Wait.... will this cause some of my monitors that aren't a part of the special bb-hosts file to go purple while the BBHOSTS variable is set to the alternate file? I wanted to avoid any impact on the monitoring system's tests, etc.
-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Wednesday, October 21, 2009 4:27 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Special bb-hosts file just for reporting
In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <hballinger at heritage-healthcare.com> writes:
Is there any way to run a command that will generate an availability report= using a different bb-hosts file?
Just set the BBHOSTS environment variable to point at your special bb-hosts file before running the "bbgen" command that generates the report.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
In <833FE11B4A07FD4789F720B6F915124F07F5E929E4 at HHCGVL-COMM01> "Harold J. Ballinger" <hballinger at heritage-healthcare.com> writes:
Wait.... will this cause some of my monitors that aren't a part of the spec= ial bb-hosts file to go purple while the BBHOSTS variable is set to the alt= ernate file? I wanted to avoid any impact on the monitoring system's tests,= etc.
No, the BBHOSTS variable is only set for the task that generates the report. Leave all of your normal configuration files untouched; but create the new report-layout-bb-hosts file "bb-hosts.report". Then run the report from a script like this:
#!/bin/sh BBHOSTS=/home/xymon/server/etc/bb-hosts.report export BBHOSTS bbgen <<the options you you normally use to build the report>>
Regards, Henrik
participants (2)
-
hballinger@heritage-healthcare.com
-
henrik@hswn.dk