[Xymon] No data in graph for INTERVAL 10

Michael Beatty Michael.Beatty at sherwin.com
Fri Jun 21 16:36:12 CEST 2013


There are two important things about RRD files you should understand, 
STEP and HEARTBEAT.  Step is the interval that the data comes in.  
Heartbeat is the interval in which if data doesn't come in, the data is 
thrown out.  As mentioned, Xymon has a 10 minute heartbeat, so if it 
doesn't get data at most every 10 minutes, all data it gets is 
disregarded.  This is why your 10 minute interval is not showing data 
(if you set a 10 minute interval, and let it run for a long time, you 
probably will find a few reports that graph due to timing).

If you have a 10+ minute interval on built in graphs, you are going to 
have to retune the rrds as Henrik already pointed out. This will have to 
be done in a test by test, host by host manner.  If you have a lot of 
tests and/or hosts, you would be wise to write a script and utilize the 
"xymongrep" utility.

With that said, if it is a custom graph, you can configure the RRD 
heartbeat in xymonserver.cfg in your NCV definition.  The Xymon 
documentation shows that you define your NCV with the data set name and 
the data set type, but you can overload those parameters further with 
the heartbeat, min val and max val.

Example:
NCV_QueueDepth="depth:GAUGE"
becomes:
NCV_QueueDepth="depth:GAUGE:1200:O:U"

This creates a RRD data set named "depth" of type "GAUGE" with a 
heartbeat of 1200 seconds, a minimum value of 0 and an unlimited maximum 
value.  As a note, you would probably always want to have a heartbeat of 
AT LEAST double the interval you are testing.

Then, you can change the step parameter in rrddefinitions.cfg by adding 
a -s parameter:
[QueueDepth]
   -s 600
   RRA:AVERAGE:0.5:1:576

Michael Beatty
Sherwin-Williams
IT Analyst/Developer
michael.beatty at sherwin.com
216-515-7374

On 06/21/2013 06:10 AM, henrik at hswn.dk wrote:
> Den 21.06.2013 09:02, deepak deore skrev:
>> __If i make the "INTERVAL 10" to a custom sctipt clientlaunch.cfg on
>> client side. Then graph doesnt show any data. But it worked below 5
>> minutes interval.
>>
>>  How can I make this work if INTERVAL is set to > 10.
>
> The default RRD graph definitions assume updates happen with <600 
> second intervals (the so-called "heartbeat"). If you don't update that 
> often, then you must define the RRD-file differently. You can use the 
> "rrdtune" command to change the heartbeat setting.
>
> Xymon can be configured to create rrd-files with a different heartbeat 
> - in the "rrddefinitions.cfg" file - but this only applies to new RRD 
> files that Xymon created, it doesn't affect existing ones.
>
>
> Regards,
> Henrik
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon





More information about the Xymon mailing list