[Xymon] Generate page with specific graphs for all hosts?
Thomas Eckert
thomas.eckert at IT-Eckert.de
Fri Dec 28 17:25:32 CET 2012
Hi Mike,
finally I had a look at that (very hacky) script. I cleaned it up a bit
but it's still very ugly w/ a mix of hardcoded paths, manual sourcing of
xymonserver.cfg, ...
Anyway: the basic idea is to construct URLs like the following
http://xymon.com/xymon-cgi/showgraph.sh?host=blixen.hswn.dk&service=tcp:conn&graph_width=864&graph_height=180&disp=blixen.hswn.dk&nostale&color=green&graph_start=1356449415&graph_end=1356708615&action=view
And wrap 'em with `xymonpage` to construct a complete (xymon) page.
As a starting point the attached "multigraph-public.sh" might help.
Thomas
On 12/18/2012 10:43 PM, Michael Burger wrote:
> That would be awesome.
>
> --
>
> *Mike Burger*
>
> *AIX Administrator*
>
> *cid:image001.gif at 01CC72C8.834C1990*
> <http://freedomhome.fhmc.local/intranet/main.jsp>
>
> *Phone (317) 537-3680**, **Fax****(317) 537-4680, Cell (317) 797-2040 ***
>
> *E-mail: **Mike.Burger at FreedomMortgage.com*
> <mailto:Anthony.House at freedommortgage.com>
>
> "Once word leaks out that a pirate's gone soft, people begin to disobey
> you and then it's nothing but work, work, work, all the time."
> --Westley/The Dread Pirate Roberts
>
> *From:*xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
> Behalf Of *Thomas Eckert
> *Sent:* Tuesday, December 18, 2012 4:41 PM
> *To:* xymon at xymon.com
> *Subject:* Re: [Xymon] Generate page with specific graphs for all hosts?
>
> I hacked up something like this for the network traffic graphs --
> adjusting to any other graph should be easy. No bells and whistles, just
> a static filter for the hosts of interest .
>
> IIRC I used 'xymonpage.cgi' to wrap up generated links to 'showgraph.cgi'.
>
> I'll check if I can bring it in shape for sharing if desired.
>
> Thomas
>
> Michael Burger <Mike.Burger at FreedomMortgage.com
> <mailto:Mike.Burger at FreedomMortgage.com>> schrieb:
>
> Nothing, eh? Phooey.
>
> --
>
> *Mike Burger*
>
> *AIX Administrator*
>
> *cid:image001.gif at 01CC72C8.834C1990*
> <http://freedomhome.fhmc.local/intranet/main.jsp>
>
> *Phone (317) 537-3680, **Fax**(317) 537-4680, Cell (317) 797-2040 *
>
> *E-mail: **Mike.Burger at FreedomMortgage.com*
> <mailto:Anthony.House at freedommortgage.com>
>
> "Once word leaks out that a pirate's gone soft, people begin to disobey
> you and then it's nothing but work, work, work, all the time."
> --Westley/The Dread Pirate Roberts
>
> *From:*xymon-bounces at xymon.com <mailto:xymon-bounces at xymon.com>
> [mailto:xymon-bounces at xymon.com] *On Behalf Of *Mike Burger
> *Sent:* Monday, December 10, 2012 12:05 PM
> *To:* xymon at xymon.com <mailto:xymon at xymon.com>
> *Subject:* [Xymon] Generate page with specific graphs for all hosts?
>
> I would like to have a page generated that shows the current (48 hours)
> view for the “vmstat” graphs for either a batch/group of servers or all
> servers.
>
> Basically, like the trends page for a particular server, but rather than
> have all of the disks, memory, io etc, just the current vmstat/cpu
> utilization view, with the same drill down options as are presented on
> the trends page.
>
> Is there a simple way to do this using xymongen/xymonweb?
>
> Thanks.
>
> --
>
> *Mike Burger*
>
> *AIX Administrator*
>
> *cid:image001.gif at 01CC72C8.834C1990*
> <http://freedomhome.fhmc.local/intranet/main.jsp>
>
> *Phone (317) 537-3680, **Fax**(317) 537-4680, Cell (317) 797-2040 *
>
> *E-mail: **Mike.Burger at FreedomMortgage.com*
> <mailto:Anthony.House at freedommortgage.com>
>
> "Once word leaks out that a pirate's gone soft, people begin to disobey
> you and then it's nothing but work, work, work, all the time."
> --Westley/The Dread Pirate Roberts
>
>
>
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
>
> the sole use of the intended recipient(s) and may contain confidential
>
> information. Any unauthorized review, use, disclosure, alteration or
>
> distribution is strictly prohibited and may violate state or federal law. If you
>
> are not the intended recipient, please contact the sender by reply e-mail,
>
> delete this email and destroy all copies of the message.
>
>
> CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
> the sole use of the intended recipient(s) and may contain confidential
> information. Any unauthorized review, use, disclosure, alteration or
> distribution is strictly prohibited and may violate state or federal law. If you
> are not the intended recipient, please contact the sender by reply e-mail,
> delete this email and destroy all copies of the message.
>
--
-- --------------------------------------------------------------------
| IT-Beratung Eckert | Hartkirchweg 54 | fon: +49 (0)761/ 594 9898
| Thomas Eckert | 79111 Freiburg i.Br. | fax: +49 (0)761/ 594 9899
| | Germany | http://www.it-eckert.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multigraph-public.sh
Type: application/x-shellscript
Size: 2799 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121228/91cbdecf/attachment.bin>
More information about the Xymon
mailing list