[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Alternate view for Management
- To: "'hobbit (at) hswn.dk'" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Alternate view for Management
- From: "Harold J. Ballinger" <hballinger (at) heritage-healthcare.com>
- Date: Tue, 28 Jul 2009 13:07:09 -0400
- References: <833FE11B4A07FD4789F720B6F915124F0786CA3481 (at) HHCGVL-COMM01> <833FE11B4A07FD4789F720B6F915124F0786CA3511 (at) HHCGVL-COMM01> <833FE11B4A07FD4789F720B6F915124F0786CA3513 (at) HHCGVL-COMM01> <d6b65a270907232059u61cc28cexb03ae07ae97d4e83 (at) mail.gmail.com>
It sounds like you're suggesting that I could create a separate "bb-hosts-management" config file that would have the alternate configuration and layout for management (including using the NAME tag to provide friendly hostnames), then have bbgen use the "bb-hosts-management" config to create a BB3.html or something similar that is the management view.
Am I understanding you correctly?
-
Harold Ballinger
IT Coordinator
Heritage Healthcare, Inc.
(888) 335-2620 | helpdesk
(864) 224-3626 | office
(864) 224-3093 | fax
Visit our website: www.heritage-healthcare.com
-----Original Message-----
From: Richard Finegold [mailto:goldfndr (at) gmail.com]
Sent: Thursday, July 23, 2009 11:59 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Alternate view for Management
On Thu, Jul 23, 2009 at 13:33, Harold J.
Ballinger<hballinger (at) heritage-healthcare.com> wrote:
> I know that there are a lot of you out there that are smarter than me and
> that know Xymon inside and out. Am I trying to get Xymon to do something
> that it just isn't capable of performing? I hate to have to build and manage
> a separate Xymon server that is just for the management view and reporting
> so that I can have this "Friendly View" type of report, but would that be my
> best option at this point?
Barring further advice, instead of building a separate server...
You could create a script that runs sed or perl or whatever to make
the "Friendly view" page. I do something like this (call bash/sed a
few times, admittedly only via bb-display.sh on BB for now) for some
supplemental reports (e.g. company-wide sortable list of backup
status/size). There are at least three options for deploying such a
script:
A) Change [bbdisplay] in hobbitlaunch.cfg to run a script that calls
bbgen (as usual) then runs this script. Best if needed often and must
be synchronized with other pages.
B) Add section in hobbitlaunch.cfg for it. Best if needed often but
no need for synchronization. My xymon site has two bbgen launches:
once for grouping by type, a second time for grouping by location
(bbgen --pageset).
C) Add as a CGI (on-demand, like the rrdtool graphs, etc.) rather
than a static page. Best if rarely needed.
If it's only a few rows then hardcoded values will suffice. It could
become scalable and maintainable if the script uses values from
bbhostgrep or something similar.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk