Header RSS Feed
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

When Nagiosgraph shows gaps/empty spaces in stats
Tuesday - Dec 14th 2010 - by - (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
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers