<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 23, 2013 at 6:10 PM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</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">Does it have data in it?  So something like this should show the last 50 data points:<div>

<br></div><div>rrdtool fetch xymonnet.rrd AVERAGE | tail -50</div><div><br></div></div></blockquote><div><br></div><div style>did not know of the fetch option. It does not have any data, only ``nan'' s. Thanks for pointing that out.</div>

<div style><br></div><div style>I removed xymonnet.rrd and restarted xymond_rrd.</div><div style><br></div><div style>So I sent a USR2 signal on xymond_rrd and in last 1 hr only see these few lines about xymonnet</div><div style>

<br></div><div style>$ grep xymonnet /var/log/xymon/rrd-status.log (sanitized)</div><div style><br></div><div>17859 2013-01-23 22:23:59 xymond_rrd: Got message 9941 @@status#9941/<a href="http://xymon.example.net">xymon.example.net</a>|1358997839.782880|192.168.0.53||<a href="http://xymon.example.net">xymon.example.net</a>|xymonnet|1358999639|yellow||yellow|1341079916|0||0||1358997660|linux|xymon|0|</div>

<div>17859 2013-01-23 22:23:59 Creating rrd /home/xymon/data/rrd/<a href="http://xymon.example.net/xymonnet.rrd">xymon.example.net/xymonnet.rrd</a></div><div>17859 2013-01-23 22:23:59 RRD create param 01: '/home/xymon/data/rrd/<a href="http://xymon.example.net/xymonnet.rrd">xymon.example.net/xymonnet.rrd</a>'</div>

<div>17859 2013-01-23 22:24:08 Flushing cache '/<a href="http://xymon.example.net/xymonnet.rrd">xymon.example.net/xymonnet.rrd</a>'</div><div>17859 2013-01-23 22:24:08 Flushing '/<a href="http://xymon.example.net/xymonnet.rrd">xymon.example.net/xymonnet.rrd</a>' with 1 updates pending, template 'runtime'</div>

<div style> </div><div style>Added this /tmp/rrddump.sh as --processor=/tmp/rrddump.sh to the xymond_rrd in tasks.cfg file</div><div style><div><br></div><div>#!/bin/sh</div><div>cat >/var/tmp/rrdfeed.txt</div><div>exit 0</div>

<div><br></div><div style>And only seen this line in long time</div><div style><br></div><div style><div>$ grep xymonnet /var/tmp/rrdfeed.txt </div><div>runtime 1358998632:792.73 <a href="http://xymon.arl.qwestip.net">xymon.arl.qwestip.net</a> xymonnet</div>

<div><br></div><div style>It created a xymonnet.rrd file with only ``nan'' s. I should have at least seen this number above</div><div style><br></div><div style>So am I hitting a bug? I am using 4.3.10</div><div style>

<br></div></div><div><br></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>
</div>
<div>On my system, the last dozen or so were "nan", probably due to buffering.  But you should see something if it's all working OK.</div>

<div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 24 January 2013 07:20, Asif Iqbal <span dir="ltr"><<a href="mailto:vadud3@gmail.com" target="_blank">vadud3@gmail.com</a>></span> wrote:<br>



</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><div class="h5"><div dir="ltr">Hi<div><br>

</div><div>I am not getting any graph for xymonnet. I am running xymon 4.3.10<br><div><br></div>

<div>I do have a xymonnet.rrd file</div><div><br></div><div><div>-rw-r--r-- 1 xymon xymon 20K 2013-01-23 14:49 xymonnet.rrd</div>

<div><br></div><div>It's name is runtime and type is GAUGE per rrdtool dump</div><div><br></div><div>When I tried to draw a graph it did not like GAUGE type.</div><div><br></div><div><div>

# rrdtool graph /tmp/test.png DEF:p1=xymonnet.rrd:runtime:GAUGE LINE2:p1#ff00ff</div><div>ERROR: Unknown CF 'GAUGE' in 'DEF:p1=xymonnet.rrd:runtime:GAUGE'</div><div><br></div><div>So I changed it to AVERAGE type, but the graph is empty.</div>





<div><br></div><div><div># rrdtool graph /tmp/test.png DEF:p1=xymonnet.rrd:runtime:AVERAGE LINE2:p1#ff00ff481x149</div><div><br></div><div><br></div></div></div><div><div># ls -lh /tmp/test.png </div><div>

-rw-r--r-- 1 root root 6.1K 2013-01-23 15:18 /tmp/test.png</div></div><div><br></div><div># display /tmp/test.png shows empty graph.</div><div><br></div><div>What gives?</div><span><font color="#888888"><div>

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

</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>
</font></span></div></div></div>
<br></div></div>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu">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></div>