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

Disk check with snmp

Rating
0 votes
Favoured:
0
Hits
161860
Files:
FileDescription
check_disk.shVersion 1.1
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check disk space with snmp
Depends
basic plugins for nagios
Specifically utils.sh and check_snmp

Usage
check_disk.sh -H host -C community -i index -w range -c range -l disk_label
check_disk.sh -h
check_disk.sh -v

Options:
-H Hostname for snmp disk query
-C Community for snmp disk query
-i Index for OID (dskPercent)
-w Range(s) which will not result in a WARNING status
-c Range(s) which will not result in a CRITICAL status
-l disk label
--help -l Print this help information
--version -v Print version of plugin

- Ranges are inclusive and are indicated with colons. When specified as
min:max a STATE_OK will be returned if the result is within the indicated
range or is equal to the upper or lower bound. A non-OK state will be
returned if the result is outside the specified range.
- If specified in the order max:min a non-OK state will be returned if the
result is within the (inclusive) range.

Example

check_disk.sh -H foo.bar -C public -i 1 -w 0:89 -c 0:94 -l "/"