Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_OID
--------------------------------------------------------------------------------
THIS PLUGIN IS PROVIDED "AS IS", WITHOUT ANY WARRANTY, AND WITHOUT ANY SUPPORT.
--------------------------------------------------------------------------------
This plugin check if the current OID is less than warning and critical.
Plugin to easy check any SNMP OID.
OID value greater than "Critical" : return CRITICAL
OID value greater than "Warning" : return WARNING
OID value less than "Warning" : return OK
Prerequisites :
This check is write in bash (Linux) and use snmp tools.
Snmp tools are in most linux repos :
Fedora/Centos: yum install net-snmp-utils
Test with : CentOS 5, Nagios 3.5
--------------------------------------------------------------------------------
USAGE :
./check_OID.sh SNMPcomunity IPaddress OID Warning Critical [name] [unite]
example :
./check_OID.sh public 192.168.1.1 "1.3.6.1.4.1.9.9.109.1.1.1.1.8" 70 95 CPU %
--------------------------------------------------------------------------------
LICENCE : CC BY-SA 3.0
http://creativecommons.org/licenses/by-sa/3.0/
--------------------------------------------------------------------------------
THIS PLUGIN IS PROVIDED "AS IS", WITHOUT ANY WARRANTY, AND WITHOUT ANY SUPPORT.
--------------------------------------------------------------------------------
This plugin check if the current OID is less than warning and critical.
Plugin to easy check any SNMP OID.
OID value greater than "Critical" : return CRITICAL
OID value greater than "Warning" : return WARNING
OID value less than "Warning" : return OK
Prerequisites :
This check is write in bash (Linux) and use snmp tools.
Snmp tools are in most linux repos :
Fedora/Centos: yum install net-snmp-utils
Test with : CentOS 5, Nagios 3.5
--------------------------------------------------------------------------------
USAGE :
./check_OID.sh SNMPcomunity IPaddress OID Warning Critical [name] [unite]
example :
./check_OID.sh public 192.168.1.1 "1.3.6.1.4.1.9.9.109.1.1.1.1.8" 70 95 CPU %
--------------------------------------------------------------------------------
LICENCE : CC BY-SA 3.0
http://creativecommons.org/licenses/by-sa/3.0/
--------------------------------------------------------------------------------
Reviews (0)
Be the first to review this listing!