<div dir="ltr"><div>Asif</div><div><br></div><div>It might be an either/or, situation otherwise you get the situation you've described, where both status_rrd and data_rrd channels try to update the RRD file.<br></div><div>

<br></div><div><span style="font-family:arial,sans-serif;font-size:13px">You might find that adjusting the TEST2RRD variable to include only "columname" and not "columnname=ncv" might do the trick.  The man page for xymond_rrd talks about the "ncv" part only being used for status messages.  But this is a long-shot.</span><br>

</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>You can include the NCV in your status message, perhaps hidden inside a comment like this:<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">

<div>$XYMON $XYMSRV "status $MACHINE.$COLUMN $COLOR `date`</div><div><br></div><div>      ${MSG}</div><div><!--</div></div><div style="font-family:arial,sans-serif;font-size:13px">  foo: 1</div><div style="font-family:arial,sans-serif;font-size:13px">

  bar: 2</div><div style="font-family:arial,sans-serif;font-size:13px">--></div><div style="font-family:arial,sans-serif;font-size:13px">"</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>

<div style="font-family:arial,sans-serif;font-size:13px">But you'd also need to reformat your MSG to not contain anything that looks like NCV.  It might be sufficient to remove all the colons and equals signs, for example.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial;font-size:small">If you want to send the data separately, perhaps use a trends message, like so:</span><br>

</div><div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">$XYMON $XYMSRV "data $MACHINE.trends<br></div><div style="font-family:arial,sans-serif;font-size:13px">[columnname.rrd]</div><div style="font-family:arial,sans-serif;font-size:13px">

DS:foo:GAUGE:600:0:U 1</div><div style="font-family:arial,sans-serif;font-size:13px">DS:bar:GAUGE:600:0:U 2</div><div style="font-family:arial,sans-serif;font-size:13px">"</div></div></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">Cheers</div><div style="font-family:arial,sans-serif;font-size:13px">Jeremy</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 November 2013 09:20, Asif Iqbal <span dir="ltr"><<a href="mailto:vadud3@gmail.com" target="_blank">vadud3@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I sent some text to status channel and some NCVs to the data channel for same test/columnname.</div>

<div><br></div><div>So on the same script I have the followings</div><div><br></div>

<div>...</div><div><div>$XYMON $XYMSRV "status $MACHINE.$COLUMN $COLOR `date`</div><div><br></div><div>      ${MSG}</div><div>      "</div></div><div>$XYMON $XYMSRV "data $MACHINE.$COLUMN<br></div><div><br>



</div><div>  foo: 1</div><div>  bar: 2</div><div>"</div><div><br></div><div>Then I placed the columnname=ncv in TEST2RRD and restarted xymon<br></div><div><br></div><div>rrdtool dump $COLUMN.rrd shows all the text from status msgs in it, yikes!</div>



<div><br></div><div>How do I tell xymon to look at only the data channel for the rrds and</div><div>leave the status channel alone for this test/columnname?</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>

<br></div><div>-- <br>

Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br>

<br>
</div></font></span></div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>