Capacity Planning no charts for some drives
Capacity Planning no charts for some drives
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
Running Nagios XI 5.2.3
You do not have the required permissions to view the files attached to this post.
Re: Capacity Planning no charts for some drives
Can you post the syntax / result of what happens when running the check over command line?
Former Nagios Employee
Re: Capacity Planning no charts for some drives
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;100Re: Capacity Planning no charts for some drives
I wonder if it's getting truncated.
Can you run it again piped to wc -c?
Is this one of the machines that is only providing data for C and D?
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
Former Nagios Employee
Re: Capacity Planning no charts for some drives
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
You may need to increase the size of the database tables. Please, see this post:
https://support.nagios.com/forum/viewto ... 3&start=10
https://support.nagios.com/forum/viewto ... 3&start=10
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Capacity Planning no charts for some drives
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
Did you restart Nagios after running those commands? What is the result you are seeing now?
Former Nagios Employee
Re: Capacity Planning no charts for some drives
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.
Re: Capacity Planning no charts for some drives
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.
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.xmlBe sure to check out our Knowledgebase for helpful articles and solutions!