check_disk performance graph missing mount

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
warapp
Posts: 33
Joined: Thu Jan 25, 2018 3:22 pm

check_disk performance graph missing mount

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: check_disk performance graph missing mount

Post 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)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
warapp
Posts: 33
Joined: Thu Jan 25, 2018 3:22 pm

Re: check_disk performance graph missing mount

Post by warapp »

The rebuild process, referenced in the KB worked.

Thank you.

-wrfw
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_disk performance graph missing mount

Post by tmcdonald »

Glad to hear it! Did you have further (related) questions or are we good to lock this up?
Former Nagios employee
Locked