[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Alternate view for Management
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Alternate view for Management
- From: Richard Finegold <goldfndr (at) gmail.com>
- Date: Thu, 23 Jul 2009 20:59:24 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=+DZkVE6eSOzR3OGTcyFrEew4YqW0PW6vqpHLLz7jPJk=; b=F95MUqwriRkLGuVpgaDTLB79lTx6A02FcJttmZTyKnhis9QYT8/Rps1HCzxDK0n0aR bC6wLJ2zQMIGnyXFVnKLDn4/F+24Dusd0pHhzKQ5xBzIQTSPDf3ixcyEuCrkBvnOFe8z nRusOs84jz2oFs8kyD4EYETf0SU+3o3w6vVBM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=jSarzcCQV0Dv6KXR+N0wv40a+xzbxtEA91EPZfJq4X3g16Jx35IgfX3S+8FjjCcOeQ b7akN9VJ06ZsO3d2fbTij3AYmnsRe+9tAep8FU6YKKW7ZHQSR6lDMoa8zKvUrqQ3VPKH j04L1bQhI8LGzj13QiQCabUXMeswv3KTrbzyk=
- References: <833FE11B4A07FD4789F720B6F915124F0786CA3481 (at) HHCGVL-COMM01> <833FE11B4A07FD4789F720B6F915124F0786CA3511 (at) HHCGVL-COMM01> <833FE11B4A07FD4789F720B6F915124F0786CA3513 (at) HHCGVL-COMM01>
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.