Capacity Planning Disk Usage blank

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Capacity Planning Disk Usage blank

Post by jkinning »

I have a Business Unit that leverages the Capacity Planning for Disk Usage but on one server the data is blank and show "No data to display: Out of ??????? are not JSON compliant: nan" (attaching screenshot) It just appears to be this WIndows fileserver and other servers cinfs01-cinfs06 were alright but cinfs07 shows nothing.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity Planning Disk Usage blank

Post by lmiltchev »

What is the Nagios XI and the Capacity Planning Report version that you are currently using? Can you see the "Disk Usage" performance graphs on this host? When did you start monitoring the "Disk Usage", other words, do you have enough data in order to extrapolate in the future?
Be sure to check out our Knowledgebase for helpful articles and solutions!
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning Disk Usage blank

Post by jkinning »

I am running Nagios XI 5.2.9, Capacity Planning Report running 2.2.0.

No, I don't have any performance metrics on this host either.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity Planning Disk Usage blank

Post by lmiltchev »

Can you see the performance data under the "Advanced" tab? Show us a screenshot of this page.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning Disk Usage blank

Post by jkinning »

Yes
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity Planning Disk Usage blank

Post by lmiltchev »

I can see that the check returns perfdata...

It is possible that you modified this check, which changed the "original" version by adding extra datasources. If this is the case, you could try resolving the issue by following the KB article below:
https://support.nagios.com/kb/article.php?id=149

Code: Select all

yum install perl-RRD-Simple -y
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/scripts/rrd_ds_fix.zip
unzip rrd_ds_fix.zip
./fix_ds_quantity.sh -i -d /usr/local/nagios/share/perfdata/<hostname>
where you substitute the <hostname> with the actual name of the directory, where the RRDs and XMLs for the "Windows Prod Disk Usage" service are stored.

You can also delete the RRDs and XMLs for this service, and wait for them to be recreated, and for graphs to start showing up (it may take up to 20-30 min).

Important: If you delete the RRDs and XMLs, you will lose all of the historical data for this service!
Be sure to check out our Knowledgebase for helpful articles and solutions!
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning Disk Usage blank

Post by jkinning »

I have other file servers using this same check and they all look alright. Just this particular server is not displaying the information.

I haven't changed anything with this disk check.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Capacity Planning Disk Usage blank

Post by tgriep »

It could be that the .rrd file of the .xml file for that system is corrupt. Try deleting the files for that check so that they will get recreated and hopefully that will fix it for you.
Go to this folder, and find the hostname and delete those files.

Code: Select all

/usr/local/nagios/share/perfdata/
If that don't work, can you post how the service check is defined?
Be sure to check out our Knowledgebase for helpful articles and solutions!
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning Disk Usage blank

Post by jkinning »

The Windows_Prod_Disk_Usage only has an xml file.

Here is the check I am using for all the Windows Prod Disk Usage - check_nrpe -H $HOSTADDRESS$ -t 55 -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<15%" "crit=free<5%"
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity Planning Disk Usage blank

Post by lmiltchev »

The Windows_Prod_Disk_Usage only has an xml file.
I can see the "Windows_Prod_Disk_Usage.rrd" file in your screenshot - see below:
example01.PNG
Remove both files, the "Windows_Prod_Disk_Usage.rrd" and the "Windows_Prod_Disk_Usage.xml". Wait for 20-30 min to see if the graphs will start showing up. If you are able to see the graphs, wait for a few days, then check the capacity planning report again.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked