Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Disk check 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 "/"
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 "/"
Reviews (0)
Be the first to review this listing!