TOP LEVEL CATEGORIES
EXPLORE
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
Compatible With
Owner
Nagios Exchange
License
GPL
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.