Home Directory Plugins System Metrics Storage Subsystem Check the disk size of Windows server and Unix server using SNMP

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 the disk size of Windows server and Unix server using SNMP Popular

Rating
2 votes
Favoured:
0
Current Version
1.9
Last Release Date
2023-04-15
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
110618
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!
Check the disk size of Windows server and Unix server using SNMP
This plugin can check the disk size of Windows server and Unix server using SNMP v1 queries.
check_snmp_disksize is written in Bash and is distributed under the GPLv2 license. This plugin have been created by Yoann LAMY.

Usage: ./check_snmp_disksize -H xxx.xxx.xxx.xxx -C public -d C: -w 80 -c 90

-H ADDRESS
Name or IP address of host (default: 127.0.0.1)
-C STRING
Community name for the host's SNMP agent (default: public)
-d STRING
Drive letter (C:) or mount point (/home)
-w INTEGER
Warning level for size in percent (default: 0)
-c INTEGER
Critical level for size in percent (default: 0)
-h
Print this help screen
-V
Print version and license information

This plugin uses the 'snmpget' command and the 'snmpwalk' command included with the NET-SNMP package.
This plugin support performance data output. If the percentage of the warning and critical levels are set 0, then the script returns a OK state.

The nagios plugins come with ABSOLUTELY NO WARRANTY.

You may redistribute copies of the plugins under the terms of the GNU General Public License v2.
Reviews (1)
byaurelien.clavier, August 31, 2015
Thank you for this share !

This work on Windows 2012 R2 partitions with more than 9 TB.