[Xymon] Custom script working as the builtin http test

Vernon Everett everett.vernon at gmail.com
Tue Nov 6 13:24:13 CET 2012


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 <heine.andersen at gmail.com> 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 ?
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>


-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121106/bd4d6429/attachment.html>


More information about the Xymon mailing list