[Xymon] Adding a graph to test status view
David Baldwin
david.baldwin at ausport.gov.au
Thu Jan 5 01:22:39 CET 2012
Jeremy,
> Can anyone tell me how to get a graph onto a test status page?
>
> I have a devmon template that monitors fan speed and creates a "fans"
> status page. Because the OIDs are leaf nodes, I have to construct a
> table myself. This is all working. Having added "fans=devmon" to
> "TEST2RRD", I now have RRD files named fans.FanSpeed1.rrd,
> fans.FanSpeed2.rrd and so on.
>
> I've added "fans" to "GRAPHS", and created a graphs.cfg definition for
> "[fans]", and so the graphs appear on the trends page.
>
> The man page for xymonserver.cfg describes TEST2RRD, and states:
>
> "This is also used by the svcstatus.cgi(1) script to determine if
> the detailed status view of a test should include a graph."
>
> So it would seem that by declaring "fans=devmon" in "TEST2RRD", I
> should now be getting the graphs of fan speed on the test status page.
> But I get nothing. There must be something else I'm missing.
It sounds like you're doing it all OK. I had a similar problem in the
past with 4.2.3. I ended up solving it by copying hobbitserver.cfg
(xymonserver.cfg) to a new file (hobbithostcgi.cfg) and changing the
devmon entries in TEST2RRD - so fans=devmon becomes fans. Then in
hobbitcgi.cfg (xymoncgi.cfg) I changed:
CGI_SVC_OPTS="--env=/usr/lib/hobbit/server/etc/hobbithostcgi.cfg
--no-svcid --history=top"
It only seemed to be the =devmon graphs that needed this - cpu=la,
http=tcp, etc were OK.
David.
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
More information about the Xymon
mailing list