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

Directory Tree

check_vss_shadowstorage

Rating
0 votes
Favoured:
0
Current Version
2011-12-19
Last Release Date
2011-12-19
Compatible With
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
82025
Files:
FileDescription
check_vss_shadowstorage.zipcheck_vss_shadowstorage.zip
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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$
Version Notes:

2011-12-19
The first version released. Tested on Nagios XI R1.8.