<div dir="ltr">Rounak<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 11, 2016 at 8:26 PM Raunak Kothari <<a href="mailto:kothari.raunak@gmail.com">kothari.raunak@gmail.com</a>> wrote:<br></div><div dir="ltr"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Below is my graph definition in graphs.cfg (The column name in Xymon is "Status")<br></div></div></div><br>[Status]<br>        FNPATTERN SecondsElapsed.rrd<br></div></div></div></div></blockquote><div><br></div><div>FNPATTERN is not needed, unless you are combining values from several different RRD files.  I don't think this is causing any problems, but take it out anyway.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>        TITLE Report Execution time in seconds<br>        YAXIS Seconds<br>        DEF:SecondsElapsed=SecondsElapsed.rrd:SecondsElapsed:AVERAGE<br>        GPRINT:SecondsElapsed:LAST:Minutes\: %5.0lf (cur)<br></div></div></div></div></blockquote><div><br></div><div>The rest looks reasonable.  But note that you won't get a graph line, only the text showing "Minutes: 17".</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Any clues why my graphs are not working ? Thanks!</div></div></div></div></blockquote><div><br></div><div>Try running the graph process manually using the rrdtool graphing function, like so:</div><div><br></div><div>$ rrdtool graph /dev/null 'DEF:SecondsElapsed=SecondsElapsed.rrd:SecondsElapsed:AVERAGE' 'GPRINT:SecondsElapsed:LAST:Minutes\: %5.0lf (cur)'</div><div><br></div><div>All that I've done here is to drop the TITLE" and "AXIS" entries (they are optional with rrdgraph), and quote the other lines, sending the output to /dev/null.  If there are problems, they will show up as an error message from rrdtool.  If it parses correctly, then rrdtool will output the pixel dimensions of the graph image file it created, such as "481x168".</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div><div><br></div></div></div>