Page 1 of 1

check_disk performance graph missing mount

Posted: Tue Jul 17, 2018 3:50 pm
by warapp
We have the check_disk service check monitoring disk utilization on devices. For one of my hosts, the graph is missing a mount point despite the fact that it shows up in the performance results of the service check. In my investigation, I found that the performance data file, Disk_Usage.xml, for the host in question had 5 mount points identified as "DATASOURCE"'s, one of which was my missing mount. The Disk_Usage.rrd file, however, only had 5 "ds"'s, and, I believe, this is the root cause of why the mount does not appear on the disk usage graph. Any ideas on how I can fix this issue?

-wrfw

Re: check_disk performance graph missing mount

Posted: Tue Jul 17, 2018 4:35 pm
by npolovenko
@warapp, Have you added this mount point after all the other ones were already in the configuration? In this case you have two options:

1. You can add a new source to the graph using the directions in this article:
https://support.nagios.com/kb/article/n ... g-149.html

2. Wipe the rrd and xml files for this service check from the /usr/local/nagios/share/perfdata folder. That will force Nagios to recreate the new rrd file that will include all interfaces. (all previous historic data will be lost)

Re: check_disk performance graph missing mount

Posted: Wed Jul 18, 2018 9:05 am
by warapp
The rebuild process, referenced in the KB worked.

Thank you.

-wrfw

Re: check_disk performance graph missing mount

Posted: Wed Jul 18, 2018 9:31 am
by tmcdonald
Glad to hear it! Did you have further (related) questions or are we good to lock this up?