
Updated: Check Free Disk Space (check_disk)
Description:
This is an updated and modified version of check free disk space (https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows-NRPE/Check-free-disk-space/details)
Modified by Corey Davis April 8, 2021
‘ Added disclaimer for using an undefined /d: for an argument to the help display
‘ Added ALL scope to parameter /d to tell it to use ALL disks on the system
‘ Removed the error catch-all for undefined drives or no drives on the system
‘ Fixed DriveSeleted function logically and added the ALL flag
‘ Moved the case assignments to inside the loop so it can build the correct responses for all specified drives
‘ Fixed formatting outdrive output to make it more readable
‘ Changed errorStatus to use the highest error code for the global script output so that Nagios will show the correct status, OK, WARNING, CRITICAL
‘
Current Version
Last Release Date
2021-04-08
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Owner
Project Files
File | Description |
---|---|
check_disk.vbs | check_disk script |