Xymon Mailing List Archive search

Using status and data together for graphs

4 messages in this thread

list Vernon Everett · Tue, 26 Feb 2013 13:32:15 +0800 ·
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.
We can also send data messages, which generate no pages, but can be used to
fill graphs on the trends page.

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.)

However, is it possible to combine both.
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.
If this is possible, how do we configure this?

Regards
Vernon

-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
list Vernon Everett · Tue, 26 Feb 2013 13:42:19 +0800 ·
Hi all

Belay that question.
It just works. No special configs required.
Send the status as normal, configure the graph as normal, and then send the
graph data in a data message.
Of course, it works better when you don't have a *#$%& typo in your graph
definition.

Why does it always work like that? You spend hours investigating and
testing something, and eventually give up and ask the list.
Then you find your typo 30 seconds after you hit send.
Quick show of hands, how many people on this list has that happened to?

Thanks all the same.

Regards
Vernon
quoted from Vernon Everett


On 26 February 2013 13:32, Vernon Everett <user-b3f8dacb72c8@xymon.invalid> wrote:
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.
We can also send data messages, which generate no pages, but can be used
to fill graphs on the trends page.

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.)

However, is it possible to combine both.
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.
If this is possible, how do we configure this?

Regards
Vernon

--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
list David Baldwin · Tue, 26 Feb 2013 16:52:54 +1100 ·
Vernon,
quoted from Vernon Everett
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
quoted from Vernon Everett
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.
quoted from Vernon Everett
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 :)
quoted from Vernon Everett
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.
quoted from Vernon Everett
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.
list Ulric Eriksson · Tue, 26 Feb 2013 08:32:40 +0100 ·
quoted from Vernon Everett
On 02/26/2013 06:42 AM, Vernon Everett wrote:
Why does it always work like that? You spend hours investigating and 
testing something, and eventually give up and ask the list.
Then you find your typo 30 seconds after you hit send.
Quick show of hands, how many people on this list has that happened to?
Many times, although not on this particular list (yet).

For the record, I think the trends message type is Freaking Sweet and so 
much easier to work with than messing with ncv formatted status messages.

Ulric