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


Remember Me


0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 3.x
  • Nagios XI

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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.

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 {
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:



[External Script]

[External Scripts]
check_vss_shadowstorage=scriptscheck_vss_shadowstorage.cmd $ARG1$ $ARG2$
Version Notes:

The first version released. Tested on Nagios XI R1.8.