Page 1 of 2
Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 8:16 am
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.
Re: Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 10:14 am
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?
Re: Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 12:52 pm
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.
Re: Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 1:10 pm
by lmiltchev
Can you see the performance data under the "Advanced" tab? Show us a screenshot of this page.
Re: Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 2:01 pm
by jkinning
Yes
Re: Capacity Planning Disk Usage blank
Posted: Thu Sep 01, 2016 2:50 pm
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!
Re: Capacity Planning Disk Usage blank
Posted: Fri Sep 02, 2016 9:21 am
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.
Re: Capacity Planning Disk Usage blank
Posted: Fri Sep 02, 2016 10:54 am
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.
If that don't work, can you post how the service check is defined?
Re: Capacity Planning Disk Usage blank
Posted: Fri Sep 02, 2016 12:03 pm
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%"
Re: Capacity Planning Disk Usage blank
Posted: Tue Sep 06, 2016 9:58 am
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.