<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 November 2013 03:52, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><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></div>



</div></blockquote><div><br></div></div><div>Looks like if I do not have  columnname=ncv it does not generate a rrd file.</div></div></div></div></blockquote><div><br></div><div>:-(</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I did some clean up so nothing in MSG has NCV like data and I added the NCV data in the <-- ... --> . It did create the rrd file with the correct NCV keys, but values </div>



<div>are zeros. It is dropping the values for some reason? So I am almost there if I can figure out why the values are not showing up. </div></div></div></div></blockquote><div><br></div><div>Are the values you're reporting counter-type (that is, always incrementing) or gauge-type?  If you're sending gauge data and it's being treated as counter data, then you will often get mostly zeroes or NaN.  By default, NCV data is expected to be DERIVE which is a type of counter.  If you want to change to GAUGE, then you need to set NCV_columnname to describe this:</div>

<div><br></div><div>NCV_columnname="foo:GAUGE,bar:GAUGE"</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>The other option would be using --extra-test and --extra-script and parse the values from the status channel to generate rrd?<br></div></div></div></div>

</blockquote><div><br></div><div>Perhaps.  These seem a lot trickier to use.</div><div><br></div><div>One thought I had about this was to setup "--extra-test" and "--extra-script" on the status channel, to filter out the status messages from xymond_rrd.  If you use "--extra-script=/bin/true" and "--extra-test=columnname" then I think it will feed the data to "/bin/true" instead of parsing it itself.  Of course "/bin/true" will produce no output, and hence no data.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div></div><div class="im">

<div> <span style="color:rgb(34,34,34)">I want the graph show up in the test page, so sending it to just trends won't work, right?</span></div></div></div></div></div></blockquote><div><br></div><div>Right.  It needs to be listed in TEST2RRD to show up in the test page.</div>

<div><br></div><div>Hmm, just noticed this in the doco:</div><div><br></div><h3 style="color:rgb(0,0,0);font-family:'Times New Roman'">"No graph on the status page, but OK on the trends page</h3><div><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">Make sure you have</span><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"> </span><b style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">ncv</b><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">listed in the GRAPHS setting in xymonserver.cfg. (Don't ask why - just take my word that it must be there).</span>"</div>

<div><br></div><div>Do you have "ncv" listed in GRAPHS?</div><div><br></div><div>J</div><div><br></div></div></div></div>