Page 1 of 1
Performance Grapher - No data on disk usage
Posted: Wed Jan 13, 2021 5:46 pm
by crystal.then
Hi,
We have a problem where performance grapher isn't showing any graphs for disk usage. It's fine for CPU and Memory, but disk it's blank.
Any ideas on what the problem might be, and the solution to fix the issue?
Thanks in advance.
Re: Performance Grapher - No data on disk usage
Posted: Thu Jan 14, 2021 4:10 pm
by benjaminsmith
HI
@crystal.then
The first thing to check would be to make sure the plugin is returning performance data as this optional.
perf-data.png
If you go to Home > Details > Services then find the disk check, and click on it. Then select the Advance Tab (+), and check the Performance Data field for incoming data.
If that's being returned, then try increasing the timeouts and load thresholds for your performance graphs as directed in the article below.
Nagios XI - Performance Graph Problems
And let me know if the issue is resolved.
Re: Performance Grapher - No data on disk usage
Posted: Thu Jan 14, 2021 9:36 pm
by crystal.then
Hi,
Performance data is being collected. We've already increased the timeouts etc.. as per the document you sent. Still not working.
Re: Performance Grapher - No data on disk usage
Posted: Fri Jan 15, 2021 3:47 pm
by ssax
Please attach (or PM) the XML and RRD file of one of these failing disk usage checks from this directory:
- Change HOSTNAME to the hostname on the filesystem
Code: Select all
/usr/local/nagios/share/perfdata/HOSTNAME/
Please PM me a copy of your profile.zip as well, you can download it from Admin > System Profile by clicking the Download Profile button.
Re: Performance Grapher - No data on disk usage
Posted: Mon Jan 18, 2021 6:38 pm
by crystal.then
Packages have been sent via PM.
Re: Performance Grapher - No data on disk usage
Posted: Tue Jan 19, 2021 6:19 pm
by ssax
From the XML file:
Code: Select all
<RRD>
<RC>1</RC>
<TXT>/usr/local/nagios/share/perfdata/XXXXX/C__Drive_Usage.rrd: found extra data on update argument: 63898120192</TXT>
</RRD>
That means when the RRD was originally created it had a certain number of metrics, then either the plugin or the number of metrics changed, and so it's failing to insert the new data into the RRD files. RRDs require you insert the same number of metrics from RRD creation, if that number changes the data will fail to insert into the rrd and your graphs won't update.
You'll likely need to do this (ignore the title, this bulk adds datasources to the ones that are failing automatically):
https://support.nagios.com/kb/article/n ... g-149.html
Once that's done, wait 15 minutes and validate, let me know if it doesn't resolve the issue.
You could technically just delete the RRD file from /usr/local/nagios/share/perfdata/HOSTNAME for the services and while you would lose historical data for the graphs it would rebuild the RRD file with the proper number of metrics on the next check and start graphing properly after a few checks have come in.
Re: Performance Grapher - No data on disk usage
Posted: Wed Jan 20, 2021 11:22 pm
by crystal.then
Thanks, that appears to have resolved the issue.
Re: Performance Grapher - No data on disk usage
Posted: Thu Jan 21, 2021 8:50 am
by scottwilkerson
crystal.then wrote:Thanks, that appears to have resolved the issue.
Great!
Locking thread