<div dir="ltr"><div><div>I think you have got me here.</div><div>The only thing I can see that's "odd" about your graph definition, is the lack of %s at the end of each gprint line, which isn't essential, and only impacts scaling, and the \n at the end of the last line.</div><div>The /n will impact the appearance of the text at the bottom of your graph, but shouldn't mess up your lines.</div><div>Even without the gprint statements, you still should get a graph.</div></div><div><br></div><div>From here, I am at a bit of a loss.<br></div><div><br></div>How are the rrd files being generated?<div><div>If it was me, I would double check every rrd file to make sure we have the correct internal field name (my first thought) and then check that each one has valid data. </div><div>I have seen situations where the rrd file ended up with 2 fields due to badly formatted data coming from the client. I had the correct field and a gibberish field name. The real data was going into the gibberish field, and the correct field was going unpopulated.</div><div>Also check you debug logs to see if there is a problem with the display/rendering of the graphs.</div><div> </div><div><div>Regards</div></div></div><div>Vernon</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 May 2015 at 20:26, Keith Dowell <span dir="ltr"><<a href="mailto:snowolfex@yahoo.com" target="_blank">snowolfex@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div> </div><br>  <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold">From:</span></b> Vernon Everett <<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> Keith Dowell <<a href="mailto:snowolfex@yahoo.com" target="_blank">snowolfex@yahoo.com</a>> <br><b><span style="font-weight:bold">Cc:</span></b> "<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, May 5, 2015 5:20 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Xymon] Need some assistance with graphs, please.<br> </font> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">Heres and example from rrdtool dump</div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><!-- Round Robin Database Dump --><rrd> <version> 0003 </version><br>        <step> 300 </step> <!-- Seconds --><br>        <lastupdate> 1430914950 </lastupdate> <!-- 2015-05-06 07:22:30 CDT --></div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">        <ds><br>                <name> memused </name><br>                <type> GAUGE </type><br>                <minimal_heartbeat> 600 </minimal_heartbeat><br>                <min> NaN </min><br>                <max> NaN </max></div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr">                <!-- PDP Status --><br>                <last_ds> 7.8 </last_ds><br>                <value> 1.1700000000e+03 </value><br>                <unknown_sec> 0 </unknown_sec><br>        </ds></div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr">And I have tried without the EXFNPATTERN (and deleted the unwanted rrd) and got the same result.</div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" dir="ltr">The number and name of the rrds will change from machine to machine.</div><div><div class="h5"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><br><div><div><div dir="ltr">Hi Keith<div><br clear="none"></div>Your internal field name is memused.<br clear="none">Is that correct for all the rrd files?<div>This is the field name as defined in the rrd file. <br clear="none"><div>Check how the rrd file is created, or use rrdtool dump with some creative grep to confirm the field names.<br clear="none"><br clear="none">Do you get a graph without the EXFNPATTERN keyword? (A long shot, but might be worth checking)<br clear="none"><div><br clear="none"></div><div>If you know the rrd files in advance, and you know the number of them, and it will not change, then why not define them manually.</div><div>It's a little more of a pain up front, but it might save you a lot of grief.</div><div>Check [users], [vmstat*] or [netstat*] in graphs.cfg for examples.</div><div><br clear="none"></div><div>Regards</div><div>Vernon</div><div> </div></div></div></div><div><br clear="none"><div>On 6 May 2015 at 00:38, Keith Dowell via Xymon <span dir="ltr"><<a href="mailto:xymon@xymon.com" shape="rect" rel="nofollow" target="_blank">xymon@xymon.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">_______________________________________________<br clear="none">
Xymon mailing list<br clear="none">
<a href="mailto:Xymon@xymon.com" shape="rect" rel="nofollow" target="_blank">Xymon@xymon.com</a><br clear="none">
<a href="http://lists.xymon.com/mailman/listinfo/xymon" shape="rect" rel="nofollow" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br clear="none">
<br clear="none"><br clear="none">---------- Forwarded message ----------<br clear="none">From: Keith Dowell <<a href="mailto:snowolfex@yahoo.com" shape="rect" rel="nofollow" target="_blank">snowolfex@yahoo.com</a>><br clear="none">To: "<a href="mailto:xymon@xymon.com" shape="rect" rel="nofollow" target="_blank">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" shape="rect" rel="nofollow" target="_blank">xymon@xymon.com</a>><br clear="none">Cc: <br clear="none">Date: Tue, 5 May 2015 16:38:40 +0000 (UTC)<br clear="none">Subject: Need some assistance with graphs, please.<br clear="none"><div><br><br></div><div><div><div style="color:rgb(0,0,0);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px;background-color:rgb(255,255,255)"><div dir="ltr">I have three rrds: ProcMBIM.rrd, ProcSA.rrd, and ProcOI.rrd</div><div dir="ltr"><br clear="none"></div><div dir="ltr">The definition I have in graphs.cfg is</div><div dir="ltr"><br clear="none"></div><div dir="ltr">FNPATTERN ^Proc(.+).rrd                NOTE: also tried (.*) - no difference</div><div dir="ltr">EXFNPATTERN ^ProcMem(.*).rrd    NOTE: for one specific rrd created i don't want</div><div dir="ltr">TITLE Process Memory Usage</div><div dir="ltr">YAXIS Total Memory Usage</div><div dir="ltr">DEF:p@RRDIDX@=@RRDFN@:memused:AVERAGE</div><div dir="ltr">LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@</div><div dir="ltr">-b 1024</div><div dir="ltr">-X0</div><div dir="ltr">GPRINT:p@RRDIDX@:LAST: \: %5.1lf (cur)</div><div dir="ltr">GPRINT:p@RRDIDX@:MAX: \: %5.1lf (max)</div><div dir="ltr">GPRINT:p@RRDIDX@:MIN: \: %5.1lf (min)</div><div dir="ltr">GPRINT:p@RRDIDX@:AVERAGE: \: %5.1lf (avg)</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">I get a graph in trends, but ONLY for MBIM. SA and OI not shown.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">I get NO graph on the page itself.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">So any help appreciated - I imagine I must be missing something to cause these two issues.<br clear="none"></div></div></div></div><br clear="none"></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div></div></div><br><br></div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> </div>  </div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div>