<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>It seems that any frequency above
10 minutes doesn't work. From what I understand, this has to do
with the step and heartbeat of the rrd. It looks like by
default the step is 300 seconds and the heartbeat is 600 seconds
(10 minutes). So, as long as it doesn't go above 10 minutes it
will accept data, anything past 10 minutes will be tossed which
would result in me not getting graphs.<br>
<br>
So, in reading the man pages, I figured out that I can override
the 600 second default by appending it to my ENV tags in
xymonserver.cfg<br>
NCV_MyAlert="MyAlert:GAUGE:900"<br>
<br>
At first glance, this worked perfectly. I deleted the rrd file,
restarted xymon, did a rrd dump and the XML was now showing a
heartbeat of 900 (15 minutes). So, I set my script to run every
15 minutes expecting a giant rainbow to arc over my screen, but,
it still doesn't work.<br>
<br>
My XML looks like this:<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> 300 </step> <!-- Seconds --><br>
<lastupdate> 1355940819 </lastupdate> <!--
2012-12-19 13:13:39 EST --><br>
<br>
<ds><br>
<name> Shortterm </name><br>
<type> GAUGE </type><br>
<minimal_heartbeat> 900 </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> 219 </unknown_sec><br>
</ds><br>
<br>
My rrd info:<br>
<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>