Xymon Mailing List Archive search

Custom script working as the builtin http test

list Vernon Everett
Tue, 6 Nov 2012 20:24:13 +0800
Message-Id: <user-60c6e249f425@xymon.invalid>

Hi

I think having multiple fields called put and get will cause confusion for
the graphing module.
You probably want to have a status message that's human readable, and then
send the data you want to graph as a data message, which doesn't appear on
the test page.
If you need it on a test page, you can always send it as HTML, with a tiny
font, and black background and text.
You also probably want to modify your field names to something like
MQ1_put : 21
MQ1_get : 20
MQ2_put : 20
MQ2_get : 20
And use the splitNCV feature to generate and graph multiple datasets.
The above fields will generate 4 lines. You data will create 2, but will
drop some of the values.

Cheers
     Vernon

On 6 November 2012 16:18, Heine Andersen <user-f754449a0946@xymon.invalid> wrote:
Hi,


I'm trying to write a server side script to monitor MQ put/get status and
times,
the script output looks like this :


Tue Nov 6 09:08:38 CET 2012


    MQ1 - OK

   put : 21
   get : 20

    MQ2 - OK

   put : 20
   get : 20


The script works well, but i can't figure out how to do the graphs the
same way as the built in
http, that is with multiple test showing up in the same graph, is that
possible ?

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