[Xymon] RRD Graph stopped graphing
Michael Beatty
Michael.Beatty at sherwin.com
Wed Dec 19 19:37:52 CET 2012
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.
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
NCV_MyAlert="MyAlert:GAUGE:900"
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.
My XML looks like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1355940819 </lastupdate> <!-- 2012-12-19 13:13:39 EST -->
<ds>
<name> Shortterm </name>
<type> GAUGE </type>
<minimal_heartbeat> 900 </minimal_heartbeat>
<min> 6.0000000000e+02 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 1.080055 </last_ds>
<value> NaN </value>
<unknown_sec> 219 </unknown_sec>
</ds>
My rrd info:
Michael Beatty
Sherwin-Williams
IT Analyst/Developer
michael.beatty at sherwin.com
216-515-7374
On 12/18/2012 06:11 PM, Larry Barber wrote:
> man rrdtool. Or you can just redo what you did with to create the
> custom graphs, but just change the time interval.
>
> Thanks,
> Larry Barber
>
> On Tue, Dec 18, 2012 at 2:56 PM, Michael Beatty
> <Michael.Beatty at sherwin.com <mailto:Michael.Beatty at sherwin.com>> wrote:
>
> How do I do that?
>
>
> Michael Beatty
> Sherwin-Williams
> IT Analyst/Developer
> michael.beatty at sherwin.com <mailto:michael.beatty at sherwin.com>
> 216-515-7374 <tel:216-515-7374>
>
> On 12/18/2012 02:13 PM, Larry Barber wrote:
>> 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.
>>
>> Thanks,
>> Larry Barber
>>
>> On Tue, Dec 18, 2012 at 11:42 AM, Michael Beatty
>> <Michael.Beatty at sherwin.com <mailto:Michael.Beatty at sherwin.com>>
>> wrote:
>>
>> 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?
>>
>> --
>> Michael Beatty
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com <mailto:Xymon at xymon.com>
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121219/beab7c88/attachment.html>
More information about the Xymon
mailing list