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