Great ! now im getting data in two rrd files, i just cant display them, this is what i put in my graphs.cfg<div><br></div><div><div>[mqnet]</div><div>        FNPATTERN ^mqnet.(.+).rrd</div><div>        TITLE MQ Put Get Times</div>
<div>        YAXIS ms</div><div>        DEF:put@RRDIDX@=@RRDFN@:ms:AVERAGE</div><div>        DEF:get@RRDIDX@=@RRDFN@:ms:AVERAGE</div><div>        LINE2:put@RRDIDX@#@COLOR@:@RRDPARAM@</div><div>        LINE2:get@RRDIDX@#@COLOR@:@RRDPARAM@</div>
<div>        GPRINT:put@RRDIDX@:LAST:Put \: %5.1lf%s (cur)</div><div>        GPRINT:put@RRDIDX@:MAX: \: %5.1lf%s (max)</div><div>        GPRINT:put@RRDIDX@:MIN: \: %5.1lf%s (min)</div><div>        GPRINT:put@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n</div>
<div>        GPRINT:get@RRDIDX@:LAST:Get\: %5.1lf%s (cur)</div><div>        GPRINT:get@RRDIDX@:MAX: \: %5.1lf%s (max)</div><div>        GPRINT:get@RRDIDX@:MIN: \: %5.1lf%s (min)</div><div>        GPRINT:get@RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n</div>
</div><div><br></div><div>the graphs are just blank, any tips on how to debug this ?</div><div><br></div><div>regards</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 6, 2012 at 1:51 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,<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to write a server side script to monitor MQ put/get 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 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>
</blockquote></div></div>
I can think of three different ways to do this type of work in Xymon. A 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 create for the host for which this test is reported two RRD's called XYZ.mq1.rrd and XYZ.mq2.rrd. With a suitable graph definition you can show this in one graph.<br>

<br>
HTH,<br>
  Wim Nelis.<br>
<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>
</blockquote></div><br></div>