<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Thank you for your help, but it
isn't working. I've been playing around with everything I can
think of, but I cannot get the graphs to display if I collect
data in frequencies greater than 10 minutes. I was briefly
looking through the code and I found in do_rrd.c that the
default interval for RRD is 300 seconds (5 minuets). I cannot
figure out a way to change this. The closest I have come to
getting this to work was to add a heartbeat value to the NCV_
setting in xymonserver.cfg file to:
NCV_mytest=dataset:GAUGE:1800. Then I was able to dump the XML
using rrdtools, manually update the STEP to 900, and reload the
rrd. When I do so, I get a strange behavior that makes me think
the 300 value that is hardcoded overrides the changes I made.
When the first report comes in, the rrd file is created, the
second report grabs the correct data, then the third report the
last_ds value is populated with the previously correct data and
the current value is set to "NaN" and that is the way it stays
for all subsequent tests.<br>
<br>
Ultimately my RRD looks like:<br>
<br>
<?xml version="1.0" encoding="utf-8"?><br>
<!DOCTYPE rrd SYSTEM
<a class="moz-txt-link-rfc2396E" href="http://oss.oetiker.ch/rrdtool/rrdtool.dtd">"http://oss.oetiker.ch/rrdtool/rrdtool.dtd"</a>><br>
<!-- Round Robin Database Dump --><rrd>
<version> 0003 </version><br>
<step> 900 </step> <!-- Seconds --><br>
<lastupdate> 1356032234 </lastupdate> <!--
2012-12-20 14:37:14 EST --><br>
<br>
<ds><br>
<name> Shortterm </name><br>
<type> GAUGE </type><br>
<minimal_heartbeat> 1800
</minimal_heartbeat><br>
<min> 6.0000000000e+02 </min><br>
<max> NaN </max><br>
<br>
<!-- PDP Status --><br>
<last_ds> 1.080055 </last_ds><br>
<value> NaN </value><br>
<unknown_sec> 434 </unknown_sec><br>
</ds><br>
<br>
<ds><br>
<name> Longterm </name><br>
<type> GAUGE </type><br>
<minimal_heartbeat> 1800
</minimal_heartbeat><br>
<min> 6.0000000000e+02 </min><br>
<max> NaN </max><br>
<br>
<!-- PDP Status --><br>
<last_ds> 1.080055 </last_ds><br>
<value> NaN </value><br>
<unknown_sec> 434 </unknown_sec><br>
</ds><br>
<br>
</tt>
<pre class="moz-signature" cols="72">Michael Beatty
Sherwin-Williams
IT Analyst/Developer
<a class="moz-txt-link-abbreviated" href="mailto:michael.beatty@sherwin.com">michael.beatty@sherwin.com</a>
216-515-7374
</pre>
On 12/18/2012 06:11 PM, Larry Barber wrote:<br>
</div>
<blockquote
cite="mid:CAOnF4RBpTJ+44fz62wr=_kbJ_LKxycJ8gU_KugrBvjgjio_=Og@mail.gmail.com"
type="cite">man rrdtool. Or you can just redo what you did with to
create the custom graphs, but just change the time interval.
<div><br>
</div>
<div>Thanks,</div>
<div>Larry Barber<br>
<br>
<div class="gmail_quote">On Tue, Dec 18, 2012 at 2:56 PM,
Michael Beatty <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Michael.Beatty@sherwin.com" target="_blank">Michael.Beatty@sherwin.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><tt>How do I do that?<span class="HOEnZb"><font
color="#888888"><br>
<br>
<br>
</font></span></tt><span class="HOEnZb"><font
color="#888888">
<pre cols="72">Michael Beatty
Sherwin-Williams
IT Analyst/Developer
<a moz-do-not-send="true" href="mailto:michael.beatty@sherwin.com" target="_blank">michael.beatty@sherwin.com</a>
<a moz-do-not-send="true" href="tel:216-515-7374" value="+12165157374" target="_blank">216-515-7374</a>
</pre>
</font></span>
<div>
<div class="h5"> On 12/18/2012 02:13 PM, Larry Barber
wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">When you change the frequency
of data collection you need to update your rrd
definitions. The rrd databases are fixed length
files, so you are leaving lots of blank entries
between data points.
<div><br>
</div>
<div>Thanks,</div>
<div>Larry Barber<br>
<br>
<div class="gmail_quote">On Tue, Dec 18, 2012 at
11:42 AM, Michael Beatty <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:Michael.Beatty@sherwin.com"
target="_blank">Michael.Beatty@sherwin.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">I had two custom RRD
graphs setup and running fine on client
systems. The script that collects the data
was running every minute. After I finished
testing, I changed the frequency of the
scripts on the clients to 1 hour in the
clientlaunch.cfg file. When I did, the RRD
graph stopped displaying data. It ran like
this for a couple days. I changed
clientlaunch.cfg back to 1 minute... and the
graphs immediately started graphing again. Is
there a minimum time frame that is needed, or
something else that must be done? What am I
missing?<span><font color="#888888"><br>
<br>
-- <br>
Michael Beatty<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xymon@xymon.com"
target="_blank">Xymon@xymon.com</a><br>
<a moz-do-not-send="true"
href="http://lists.xymon.com/mailman/listinfo/xymon"
target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</body>
</html>