Xymon Mailing List Archive search

Generate page with specific graphs for all hosts?

list Mike Burger
Fri, 28 Dec 2012 14:08:40 -0500 (EST)
Message-Id: <user-9255e75a21e3@xymon.invalid>

I'll give this a look-see and see how I can adapt it.

Thank you.
-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

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 (XXX) XXX-XXXX**, **Fax****(XXX) XXX-XXXX, Cell (XXX) XXX-XXXX
***

*E-mail: **user-c26873f0522a@xymon.invalid*

"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 <user-c26873f0522a@xymon.invalid
<mailto:user-c26873f0522a@xymon.invalid>> schrieb:

Nothing, eh? Phooey.

--

*Mike Burger*

*AIX Administrator*

*cid:image001.gif at 01CC72C8.834C1990*
<http://freedomhome.fhmc.local/intranet/main.jsp>;

*Phone (XXX) XXX-XXXX, **Fax**(XXX) XXX-XXXX, Cell (XXX) XXX-XXXX *

*E-mail: **user-c26873f0522a@xymon.invalid*

"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 (XXX) XXX-XXXX, **Fax**(XXX) XXX-XXXX, Cell (XXX) XXX-XXXX *

*E-mail: **user-c26873f0522a@xymon.invalid*

"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: +XX (X)XXX/ XXX XXXX
|                    | Germany              | http://www.it-eckert.de/