Random Project
Windows NRPE

Updated: Check Free Disk Space (check_disk)

0 (0)
8,188
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

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 '


Project Details

Current Version

Last Release Date

2021-04-08

Owner

Corey Davis

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Recommend

To:


From: