When Nagiosgraph shows gaps/empty spaces in stats

Written by - 0 comments

Published on - Listed in Nagios Monitoring


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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   OpenSearch   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder