I would like to know how to set proper thresholds for these devices. Also what i learn here will most likely give me more information as to how snmp works.
Technical information
OS: CentOS 5.6
Code: Select all
Linux xxx.net 2.6.18-238.el5 #1 SMP Thu Jan 13 16:24:47 EST 2011 i686 i686 i386 GNU/Linux
Nagios Plugins: 1.4.15
Net-Snmp Details
Code: Select all
net-snmp.i386 1:5.3.2.2-14.el5_7.1 installed
net-snmp-libs.i386 1:5.3.2.2-14.el5_7.1 installed
net-snmp-utils.i386 1:5.3.2.2-14.el5_7.1 installed
Code: Select all
define service{
use generic-service ; Inherit values from a template
host_name some_host
service_description Port 5 Link Status
check_command check_snmp!-C xxxxxx -o ifOperStatus.5 -r 1 -m RFC1213-MIB
}
Code: Select all
# ./check_snmp -H xx.xx.xx.xx -C xxxx -o ifOperStatus.5 -r 1 -m RFC1213-MIB
SNMP OK - 2 | RFC1213-MIB::ifOperStatus.5=2
Again, It is working... i just need to know how to set proper thresholds for this.
Thanks