Xymon Mailing List Archive search

Special bb-hosts file just for reporting

5 messages in this thread

list Harold J. Ballinger · Tue, 20 Oct 2009 14:41:55 -0400 ·
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.
 (XXX) XXX-XXXX  | helpdesk
 (XXX) XXX-XXXX  | office
 (XXX) XXX-XXXX  | fax

[cid:image001.jpg at 01CA5193.7895DC50]

Visit our website: www.heritage-healthcare.com<http://www.heritage-healthcare.com/>;
list Henrik Størner · Wed, 21 Oct 2009 20:27:05 +0000 (UTC) ·
quoted from Harold J. Ballinger
In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <user-fc4f93976dc8@xymon.invalid> 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
list Harold J. Ballinger · Thu, 22 Oct 2009 19:06:07 -0400 ·
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.
quoted from Henrik Størner

-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, October 21, 2009 4:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Special bb-hosts file just for reporting

In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <user-fc4f93976dc8@xymon.invalid> 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
list Harold J. Ballinger · Thu, 22 Oct 2009 19:08:15 -0400 ·
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.
quoted from Harold J. Ballinger

-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, October 21, 2009 4:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Special bb-hosts file just for reporting

In <833FE11B4A07FD4789F720B6F915124F07F5E92742 at HHCGVL-COMM01> "Harold J. Ballinger" <user-fc4f93976dc8@xymon.invalid> 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
list Henrik Størner · Fri, 23 Oct 2009 17:07:53 +0000 (UTC) ·
In <833FE11B4A07FD4789F720B6F915124F07F5E929E4 at HHCGVL-COMM01> "Harold J. Ballinger" <user-fc4f93976dc8@xymon.invalid> 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