Xymon Mailing List Archive search

Using status and data together for graphs

list David Baldwin
Tue, 26 Feb 2013 16:52:54 +1100
Message-Id: <user-8fb215d31b6c@xymon.invalid>

Vernon,
Hi all

I am trying to confirm something, which isn't clear in the
documentation. (Or maybe it is, but I am just not seeing it)

Status messages from a client to the server, generate a status page.
correct
We can also send data messages, which generate no pages, but can be
used to fill graphs on the trends page.
correct - data messages can update RRD files.
The information on the status page can also be used to create graphs,
and the graphs will appear on the status page, and the trends (if
defined correctly.)
yes - but this requires server-side magic C code (or custom status page
dissector running as a separate xymond_channel) to collect the
information off the status page and update RRD files.
However, is it possible to combine both.
Yes :)
I want to send a "status" message, for test FOO, with information on
it, but no graph data.
However, I do want to graph some information for FOO, but don't want
the graph data to appear on the page alongside the status information.
Can I send a data message for FOO, with graphing data, and have the
graph appear on the FOO status page.
Yes. The data message needs to go to the trends column - see:
'More advanced: Sending a "trends" message' at the bottom of
http://xymon.com/xymon/help/howtograph.html
If this is possible, how do we configure this?
Basic recipe:

Send status message with what you want the user to see on status page.
Send data message to trends with data you want to update in RRD file
Define graph for status page using RRD you just updated.
Optionally additional graphs can be defined to appear on trends page.

I have implemented examples of above in perl from Unix clients and
powershell from Windows clients.

David.
Regards
Vernon

-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton

-- 
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
user-cbbf693f2c89@xymon.invalid          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.