I would suggest looking at this script:
http://nagios.manubulon.com/snmp_int.html
Frank
-Original Message-
From: Mester [mailto:mes...@freemail.hu]
Sent: Saturday, March 03, 2012 12:24 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check multiple ports of a switch
Hi All,
I try to check our switch for bad packets. I have succesfully made the
configuration file, but for some reason it always sais SNMP OK.
This is the command I use for checking:
/usr/local/nagios/libexec/check_snmp -H ip_address -C name -o
ifInErrors.101 -w 10 -c 100, -o ifInErrors.102 -w