Performance grapher - No data on disk usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
crystal.then
Posts: 57
Joined: Mon Oct 27, 2014 12:05 am

Performance grapher - No data on disk usage

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Performance grapher - No data on disk usage

Post 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.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
crystal.then
Posts: 57
Joined: Mon Oct 27, 2014 12:05 am

Re: Performance grapher - No data on disk usage

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance grapher - No data on disk usage

Post 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.
crystal.then
Posts: 57
Joined: Mon Oct 27, 2014 12:05 am

Re: Performance grapher - No data on disk usage

Post by crystal.then »

Packages have been sent via PM.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance grapher - No data on disk usage

Post 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.
crystal.then
Posts: 57
Joined: Mon Oct 27, 2014 12:05 am

Re: Performance grapher - No data on disk usage

Post by crystal.then »

Thanks, that appears to have resolved the issue.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Performance grapher - No data on disk usage

Post by scottwilkerson »

crystal.then wrote:Thanks, that appears to have resolved the issue.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart