Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
The plugin can take value for any snmp oid and status OK, WARNING or CRITICAL if this value exceed specified restrictions. It works with pnp4nagios addon.
Current Version
1.3
Last Release Date
2009-07-09
Owner
vladimir
Website
http://howto.su/wackowiki/wakka.php?wakka=checksnmpoideng
Download URL
http://howto.su/wackowiki/wakka.php?wakka=checksnmpoid/files&get=.check_snmp_oid
Compatible With
Usage: ./check_snmp_oid -H HOSTNAME -o <OID> [OPTIONS]
-H, --hostname Hostname to send SNMP queries to.
-o, --oid snmp OID to query.
Options: -h, --help View help about script usage.
-C, --community Community name to use in queries. (default: public)
-p, --port Port number to send SNMP requests to. (default: 161)
-d, --description Description, will be shown in the output.(default: Result)
-W, --max_warning Top warning limit, so if the result is greater than max_w, but less than max_cr then script will return WARNING status.
-M, --max_critical Top critical limit, so if the result is greater than max_cr then the script will return CRITICAL status.
-w, --min_warning Bottom warning limit, so if the result is less than min_w but greater than min_cr then the script will return WARNING status.
-m, --min_critical Bottom critical limit, so if the result is less than min_cr then the script will return CRITICAL status.
Sample:
# ./check_snmp_oid -H 172.16.1.1 -C MyCommunity -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1 -d Temperature -W 20 -M 30 Temperature: 21 | perfdata=21;20;30
You must be logged in to submit a review.
To:
From: