Capacity Planning no charts for some drives

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 no charts for some drives

Post by jkinning »

I am using check_nrpe -H -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<15%" "crit=free<5%" to check all my drives. For some reason I am only getting data from drives C and D. I have attached an image from another server that has an F drive which is not displaying any data. I have other servers that have G, I, etc drives that also aren't showing any graphing data.

Running Nagios XI 5.2.3
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Capacity Planning no charts for some drives

Post by rkennedy »

Can you post the syntax / result of what happens when running the check over command line?
Former Nagios Employee
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning no charts for some drives

Post by jkinning »

Code: Select all

 ./check_nrpe -H cinfs01p -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<15%" "crit=free<5%"
OK All 3 drive(s) are ok|'C:\ free'=7.77311GB;5.98491;1.99497;0;39.89941 'C:\ free %'=19%;14;4;0;100 'D:\ free'=573.82277GB;230.38081;76.7936;0;1535.87206 'D:\ free %'=37%;14;4;0;100 'F:\ free'=605.78519GB;245.74086;81.91362;0;1638.27245 'F:\ free %'=36%;15;5;0;100
Here is the command output.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Capacity Planning no charts for some drives

Post by rkennedy »

I wonder if it's getting truncated.

Can you run it again piped to wc -c?

Code: Select all

./check_nrpe -H cinfs01p -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<15%" "crit=free<5%" | wc -c
Is this one of the machines that is only providing data for C and D?
Former Nagios Employee
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning no charts for some drives

Post by jkinning »

Yes it is.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H cinfs01p -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<15%" "crit=free<5%" | wc -c
266
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Capacity Planning no charts for some drives

Post by lmiltchev »

You may need to increase the size of the database tables. Please, see this post:

https://support.nagios.com/forum/viewto ... 3&start=10
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 no charts for some drives

Post by jkinning »

I ran those commands but I am still not seeing any data for the other drives on this system.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Capacity Planning no charts for some drives

Post by rkennedy »

Did you restart Nagios after running those commands? What is the result you are seeing now?
Former Nagios Employee
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Capacity Planning no charts for some drives

Post by jkinning »

I rebooted Nagios after the change and waited a day but still have the same results. One thing I also noticed is for C and D I have a ___free and ___free_% for C and D but for F, on this particular server I only have ___free. Still no graph data.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Capacity Planning no charts for some drives

Post by tgriep »

Was the F Drive always in the system or was it added after the the XI system first started to monitor it?
Can you go to that service and click on the Advanced Tab and post a screen capture of that?
Could you also post the XML file that is used to generate the graphs so we can review it?
The file should be located here.

Code: Select all

/usr/local/nagios/share/perfdata/CINFS01P/disk.xml
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked