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
162419
Files:
FileDescription
check_disk.shVersion 1.1
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 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 "/"