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

check_OID

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 3.x
License
Other
Hits
15340
Files:
FileDescription
check_OID.shcheck_OID.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Plugin to easy monitor any digital 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/

--------------------------------------------------------------------------------