[Nagiosplug-help] check_snmp plugin always showing OK
dwcallahan at gmail.com
Sat Jul 23 00:00:24 CEST 2011
I'm having some difficulty with check_snmp. This is probably something
rather simple but I'm stumped. I have 2 nagios servers one running OMD 48
and the other was a compile of nagios 3.2.3 with the plugin package.
Basically I have a temp probe that I'm trying to monitor warning and
critical temps. Here goes..
alias Temp Sensor 1
check_command check_snmp!-C public -p 161 -o 188.8.131.52.4.1.17095.1.1.0
service_description Room Temp
check_command check_snmp! -o 184.108.40.206.4.1.17095.3.2.0 -w at 75:79 -c:80
This is what is displayed in check_mk with the -v
/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] x.x.x.x:161
220.127.116.11.4.1.17095.3.2.0 Long output of check plugin
= STRING: "77.68"
SNMP OK - "77.68" Service performance data
Service check commandcheck_snmp! -o 18.104.22.168.4.1.17095.3.2.0 -w at 75:79 -c:80
I have another command such as check_snmp!-c public -p 161 -o
22.214.171.124.4.1.17095.3.6.0 -r "PWR OK" that works fine so I have no idea why
the other check command is not giving a warning in nagios.
Any help is welcome!!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Help