ofc, thx for the help, everything is working now :)<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 4:13 PM, W.J.M. Nelis <span dir="ltr"><<a href="mailto:Wim.Nelis@nlr.nl" target="_blank">Wim.Nelis@nlr.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Heine,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Great ! now im getting data in two rrd files, i just cant display them,<br>
this is what i put in my graphs.cfg<br>
<br>
[mqnet]<br>
FNPATTERN ^mqnet.(.+).rrd<br>
TITLE MQ Put Get Times<br>
YAXIS ms<br>
DEF:put@RRDIDX@=@RRDFN@:ms:<u></u>AVERAGE<br>
DEF:get@RRDIDX@=@RRDFN@:ms:<u></u>AVERAGE<br>
LINE2:put@RRDIDX@#@COLOR@:@<u></u>RRDPARAM@<br>
LINE2:get@RRDIDX@#@COLOR@:@<u></u>RRDPARAM@<br>
GPRINT:put@RRDIDX@:LAST:Put \: %5.1lf%s (cur)<br>
GPRINT:put@RRDIDX@:MAX: \: %5.1lf%s (max)<br>
GPRINT:put@RRDIDX@:MIN: \: %5.1lf%s (min)<br>
GPRINT:put@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n<br>
GPRINT:get@RRDIDX@:LAST:Get\: %5.1lf%s (cur)<br>
GPRINT:get@RRDIDX@:MAX: \: %5.1lf%s (max)<br>
GPRINT:get@RRDIDX@:MIN: \: %5.1lf%s (min)<br>
GPRINT:get@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n<br>
<br>
the graphs are just blank, any tips on how to debug this ?<br>
</blockquote></div>
Assuming you've used the DEVMON way as described below, you will have two datasets (DS) in both RRD files. The DS-names are 'put' and 'get'. You can check this by using 'rrdtool info mqnet*rrd'. If this is correct, you can change the DEF lines in the graph-definition accordingly, that is replace ms by put or get.<br>

<br>
HTH,<br>
  Wim Nelis.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Tue, Nov 6, 2012 at 1:51 PM, W.J.M. Nelis <<a href="mailto:Wim.Nelis@nlr.nl" target="_blank">Wim.Nelis@nlr.nl</a><br></div><div><div class="h5">
<mailto:<a href="mailto:Wim.Nelis@nlr.nl" target="_blank">Wim.Nelis@nlr.nl</a>>> wrote:<br>
<br>
    Hello,<br>
<br>
<br>
        I'm trying to write a server side script to monitor MQ put/get<br>
        status and<br>
        times,<br>
        the script output looks like this :<br>
<br>
<br>
        Tue Nov 6 09:08:38 CET 2012<br>
<br>
<br>
        MQ1 - OK<br>
<br>
        put : 21<br>
        get : 20<br>
        MQ2 - OK<br>
<br>
        put : 20<br>
        get : 20<br>
<br>
<br>
        The script works well, but i can't figure out how to do the graphs<br>
        the same<br>
        way as the built in<br>
        http, that is with multiple test showing up in the same graph, is that<br>
        possible ?<br>
<br>
    I can think of three different ways to do this type of work in Xymon. A<br>
    relative simple way is to use the same way devmon is using.<br>
<br>
    If you make the output of the script to contain something like:<br>
<br>
    <!-- linecount=2 --><br>
    <!--DEVMON RRD: XYZ 0 0<br>
    DS:put:GAUGE:600:0:U DS:get:GAUGE:600:0:U<br>
    mq1 21:20<br>
    mq2 20:20<br>
    --><br>
<br>
    and add to xymonserver.cfg:<br>
    TEST2RRD= ...,ABC=devmon<br>
<br>
    (in which ABC is the name of the test / column), you're done. It will<br>
    create for the host for which this test is reported two RRD's called<br>
    XYZ.mq1.rrd and XYZ.mq2.rrd. With a suitable graph definition you can<br>
    show this in one graph.<br>
<br>
    HTH,<br>
    Wim Nelis.<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>************************<br>
<br>
The NLR disclaimer is valid for NLR e-mail messages.<br>
<br>
This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual<br>
or legal commitment on the part of the sender.<br>
This message may contain information that is not intended for you. If you are not the addressee or if this<br>
message was sent to you by mistake, you are requested to inform the sender and delete the message.<br>
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic<br>
transmission of messages.<br>
<br>
******************************<u></u>******************************<u></u>******************************<u></u>************************<br>
<br>
</div></div></blockquote></div><br></div>