<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">Which logs should i check in particular?<br><div><span></span></div><br>  <div id="yui_3_16_0_1_1430843153733_137979" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1430843153733_137978" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1430843153733_137989" dir="ltr"> <hr size="1">  <font id="yui_3_16_0_1_1430843153733_137988" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Vernon Everett <everett.vernon@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Keith Dowell <snowolfex@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "xymon@xymon.com" <xymon@xymon.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, May 6, 2015 5:40 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Xymon] Need some assistance with graphs, please.<br> </font> </div> <div id="yui_3_16_0_1_1430843153733_137977" class="y_msg_container"><br><div id="yiv5794020706"><div id="yui_3_16_0_1_1430843153733_137976"><div id="yui_3_16_0_1_1430843153733_137975" dir="ltr"><div id="yui_3_16_0_1_1430843153733_137974"><div id="yui_3_16_0_1_1430843153733_137986">I think you have got me here.</div><div id="yui_3_16_0_1_1430843153733_137973">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 id="yui_3_16_0_1_1430843153733_137990">Even without the gprint statements, you still should get a graph.</div></div><div id="yui_3_16_0_1_1430843153733_138002"><br clear="none"></div><div>From here, I am at a bit of a loss.<br clear="none"></div><div><br clear="none"></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 clear="none"></div></div><div class="yiv5794020706gmail_extra"><br clear="none"><div class="qtdSeparateBR"><br><br></div><div class="yiv5794020706yqt0960305693" id="yiv5794020706yqt53513"><div class="yiv5794020706gmail_quote">On 6 May 2015 at 20:26, Keith Dowell <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:snowolfex@yahoo.com" target="_blank" href="mailto:snowolfex@yahoo.com">snowolfex@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv5794020706gmail_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 clear="none">  <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 dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Vernon Everett <<a rel="nofollow" shape="rect" ymailto="mailto:everett.vernon@gmail.com" target="_blank" href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Keith Dowell <<a rel="nofollow" shape="rect" ymailto="mailto:snowolfex@yahoo.com" target="_blank" href="mailto:snowolfex@yahoo.com">snowolfex@yahoo.com</a>> <br clear="none"><b><span style="font-weight:bold;">Cc:</span></b> "<a rel="nofollow" shape="rect" ymailto="mailto:xymon@xymon.com" target="_blank" href="mailto:xymon@xymon.com">xymon@xymon.com</a>" <<a rel="nofollow" shape="rect" ymailto="mailto:xymon@xymon.com" target="_blank" href="mailto:xymon@xymon.com">xymon@xymon.com</a>> <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, May 5, 2015 5:20 PM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Xymon] Need some assistance with graphs, please.<br clear="none"> </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 clear="none">        <step> 300 </step> <!-- Seconds --><br clear="none">        <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 clear="none">                <name> memused </name><br clear="none">                <type> GAUGE </type><br clear="none">                <minimal_heartbeat> 600 </minimal_heartbeat><br clear="none">                <min> NaN </min><br clear="none">                <max> NaN </max></div><div dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">                <!-- PDP Status --><br clear="none">                <last_ds> 7.8 </last_ds><br clear="none">                <value> 1.1700000000e+03 </value><br clear="none">                <unknown_sec> 0 </unknown_sec><br clear="none">        </ds></div><div dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> </div><div dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">And I have tried without the EXFNPATTERN (and deleted the unwanted rrd) and got the same result.</div><div dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> </div><div dir="ltr" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">The number and name of the rrds will change from machine to machine.</div><div><div class="yiv5794020706h5"><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 clear="none"><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 rel="nofollow" shape="rect" ymailto="mailto:xymon@xymon.com" target="_blank" href="mailto:xymon@xymon.com">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 rel="nofollow" shape="rect" ymailto="mailto:Xymon@xymon.com" target="_blank" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.xymon.com/mailman/listinfo/xymon">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 rel="nofollow" shape="rect" ymailto="mailto:snowolfex@yahoo.com" target="_blank" href="mailto:snowolfex@yahoo.com">snowolfex@yahoo.com</a>><br clear="none">To: "<a rel="nofollow" shape="rect" ymailto="mailto:xymon@xymon.com" target="_blank" href="mailto:xymon@xymon.com">xymon@xymon.com</a>" <<a rel="nofollow" shape="rect" ymailto="mailto:xymon@xymon.com" target="_blank" href="mailto:xymon@xymon.com">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 clear="none"><br clear="none"></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 clear="none"><br clear="none"></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></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv5794020706gmail_signature"><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> </div>  </div></body></html>