Skip to content
Check the disk size of Windows server and Unix server using SNMP queries
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


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 -C public -d C: -w 80 -c 90

Name or IP address of host (default:
Community name for the host's SNMP agent (default: public)
Drive letter (C:) or mount point (/home)
Warning level for size in percent (default: 0)
Critical level for size in percent (default: 0)
Print this help screen
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.
You can’t perform that action at this time.