Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Check All Logical Disks

Rating
0 votes
Favoured:
0
Hits
152159
Files:
FileDescription
check_disk.zipcheck_disk.zip
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Enumerates all local partitions and checks warning and critical levels.
I wrote this, my first Nagios plugin and first Windows Scripting File (wsf), in order to enumerate all local partitions and check warning level and critical levels. All that is required for it to work is it to be reffernced in each NRPE config file. I am working to a point where all my systems have the same NRPE config file. This script and the template I used, ronald van vugt's Check_Services.wsf, bring me closer to just that.

Please provide me with any feedback you might have, I consider this project a work in progress and I would love to hear how well it held up or didn't hold up in other enviroments.

UPDATE: April 10, 2007
Added drive information to errors.
Added "Disks checked" to "ok" status.

UPDATE: July 22, 2007
Ignore Drives that are named "Backups"