NRPE

check_vss_shadowstorage

Description:

The purpose of check_vss_shadowstorage.cmd is to identify any drives that are configured for storing shadow copies and identifying the maximum allowed space that VSS is allowed to use. If a drive is configured with the setting of “No limit” then you could easily run out of disk space without warning. If this condition occurs then the script will exit with a status of critical. NOTE: It has been observed that the vssadmin command does not report a status of “No limit” if the drive has never had a shadow copy created on it. This is not a huge issue, using this script in Nagios as a daily check will identify the “No limit” drive once a shadow copy has been created. If a drive is configured with the setting of “Use limit” then a maximum limit must be defined for that drive. This check will compare the current limit against the MAXLIMIT value that you provide. If the current limit is greater than the MAXLIMIT then the script will exit with a status of critical. This script will check all drives and use the MAXLIMIT value that you provide to check against all drives. Usage: check_vss_shadowstorage.cmd –MAXLIMIT Example: Checking all drives, critical status will be returned if they exceed the limit of 345 MB check_vss_shadowstorage.cmd –MAXLIMIT 345 Service Definition (enough info to get you started): define service { host_name service_description VSS Shadow Storage Usage check_command check_nrpe!check_vss_shadowstorage!-a –MAXLIMIT 345!!!!!! register 1 } This command relies on NSClient++ being installed on the target host along with the check_vss_shadowstorage.cmd script located in the scripts directory. NSC.INI configuration: [modules] NRPEListener.dll [NSClient] allow_arguments=1 [External Script] allow_arguments=1 [External Scripts] check_vss_shadowstorage=scriptscheck_vss_shadowstorage.cmd $ARG1$ $ARG2$

Current Version

2011-12-19

Last Release Date

2011-12-19

Compatible With

  • Nagios 3.x
  • Nagios XI

License

GPL


Project Files
Project Notes
Version Notes: 2011-12-19 The first version released. Tested on Nagios XI R1.8.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
82,030