Previously when we were using Nagios Core we were monitoring individual drives via WMI which our environment we used a proxy to get the WMI information. This was helpful for our Storage guys because they could click on a hosts and then the service check for a particular drive, D, E, F, etc and then they would click on the View Availability Report For This Service. The Service Log Entries would show them the Event/State Information so they could see the daily usage which would help them determine if the drive is slowly filling up or if someone or something dropped several hundred GBs of data in one day. Moving forward to today we are using Nagios Xi and leveraging the NSClient++ eliminating the WMI calls we were using. We are using this service check for the drives because it will check all the drives at one time and doesn't require us to know drive letters or how many drives, etc. For us Administrators it makes like easier.
Code: Select all
./check_nrpe -H <host> -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<10%" "crit=free<5%"
So if I have them use the same method, select the Drive service and then under Advance View in Nagios Core and View Availability Report For This Service the information just shows OK All #(number) drive(s) are ok but doesn't actually show the space. When I run that command from the command line I get the raw data:
Code: Select all
./check_nrpe -H <host> -c check_drivesize -a "filter=type = 'fixed' and drive regexp '.*[C-Z].*'" "warn=free<10%" "crit=free<5%"
OK All 3 drive(s) are ok|'C:\ free'=10.13283GB;3.98994;1.99497;0;39.89941 'C:\ free %'=25%;9;4;0;100 'D:\ free'=640.96744GB;204.7872;102.3936;0;2047.87206 'D:\ free %'=31%;10;5;0;100 'E:\ free'=99.99091GB;39.9872;19.9936;0;399.87206 'E:\ free %'=25%;9;4;0;100
So with Nagios XI having greater reporting capabilities is there a report or something I could have emailed on a daily, weekly, monthly basis showing drive usage for specific hosts? I am hoping I won't need to create separate drive checks for these hosts to provide our Storage Admins with the information they are looking for. I had them take a look at the Capacity Planning tab but that just confused them and some drives had the message "No data to display: 'NoneType' object has no attribute 'unit'. I've attached the screenshot.
Just trying to figure out the best method or a way so they can see the data they want that will help them at the same time not making my life as the Admin any more difficult. Again, just need to track daily, or weekly, or monthly stats of drive usage to help them determine if the storage is growing normally or if someone/something is dumping GB or large amounts of data on specific disks.
You do not have the required permissions to view the files attached to this post.