Header
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup Hardware Internet Linux Nagios/Monitoring Personal PHP Proxy Shell VMware Windows Wyse

When Nagiosgraph shows gaps/empty spaces in stats
Tuesday - Dec 14th 2010 - 2.44 pm (+0100) - Geneva, Switzerland - (0 comments)

After successfully using Nagiosgraph since a couple of days now, I experienced a weird behavior in the statistic graphs. Suddenly some gaps (or empty spaces, missing data) showed up, the graphic line didn't continue:

Nagiosgraph Gaps

I marked the gaps with the red oval. Take a look at it and you notice the missing continous blue line. Ugly, isn't it?

Why did this happen? Actually, it's my own fault. I scheduled some Nagios checks to be done only once an hour, some every 15mins, some every minute, and so on (different service objects). Now Nagiosgraph has a so-called Heartbeat which is by default set to 600 (seconds). So if the rrd file isn't updated within the 600s (= 10min) the time-span without data would be declared as UNKNOWN and this results in the empty data graphic/gap.

To change this the heartbeat you need to open your nagiosgraph.conf and change the heartbeat variable to be bigger than your longest check period. And one more note: You need to delete your already created rrd file afterwards; the new settings (the new heartbeat value) is only applied on new generated rrd files.

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home RSS Feed
About ck about
Linux Howtos how to's
Nagios Plugins nagios plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

9376 Days
until Death of Computers
Why?