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

bulk SNMP check

Rating
1 vote
Favoured:
0
Hits
155640
Files:
FileDescription
snmp-bulk-check.plsnmp-bulk-check.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
perl wrapper around snmpwalk to check a bunch of OIDs in bulk
Check all OIDs specified in the command line and all objects underneath

Anything other than zero under .101.x is considered an error

usage: $0 options host oid1 ,oid2 ...

usage: ./snmp-bulk-check.pl hostname .1.3.6.1.4.1.2021.8.1 .1.3.6.1.4.1.2021.2.1 .1.3.6.1.4.1.2021.10 .1.3.6.1.4.1.2021.9


Options:

--help this help

--debug be verbose

--snmpver=s SNMP version (default: $snmpver)
--user=s SNMP user (default: $user)
--community=s SNMP comimunity (default: $community)
--silent do not print anything unless errors

Interesting OIDs:

.1.3.6.1.4.1.2021.2.1 = processes
.1.3.6.1.4.1.2021.10 = load average
.1.3.6.1.4.1.2021.9 = disk usage
.1.3.6.1.4.1.2021.8.1 = custom scripts