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
109765
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.