Page 1 of 3
Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 11:36 am
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
Re: Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 11:43 am
by rkennedy
Can you post the syntax / result of what happens when running the check over command line?
Re: Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 1:50 pm
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.
Re: Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 3:14 pm
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?
Re: Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 3:27 pm
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
Re: Capacity Planning no charts for some drives
Posted: Tue Dec 15, 2015 6:06 pm
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
Re: Capacity Planning no charts for some drives
Posted: Wed Dec 16, 2015 10:07 am
by jkinning
I ran those commands but I am still not seeing any data for the other drives on this system.
Re: Capacity Planning no charts for some drives
Posted: Wed Dec 16, 2015 1:18 pm
by rkennedy
Did you restart Nagios after running those commands? What is the result you are seeing now?
Re: Capacity Planning no charts for some drives
Posted: Fri Dec 18, 2015 6:56 am
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.
Re: Capacity Planning no charts for some drives
Posted: Fri Dec 18, 2015 2:26 pm
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