[Nagiosplug-help] check_snmp string handling issue and perfdata
Dánial Olsen
DOL at ft.fo
Tue Sep 28 13:22:24 CEST 2010
Something has changed between 1.4.14 and 1.4.15 in check_snmp regarding
handling of string values.
Among other things I use check_snmp for reading temperature on my Soekris boxes
(running sensorsd on OpenBSD 4.6).
snmpget -v 2c -c public 10.0.0.2 .1.3.6.1.4.1.30155.2.1.2.1.5.3
SNMPv2-SMI::enterprises.30155.2.1.2.1.5.3 = STRING: "53.00"
Version 1.4.15:
./check_snmp -H 10.0.0.2 -o .1.3.6.1.4.1.30155.2.1.2.1.5.3 -w 50 -c 60
SNMP OK - "53.00" |
Version 1.4.14:
./check_snmp-old -H 10.0.0.2 -o .1.3.6.1.4.1.30155.2.1.2.1.5.3 -w 50 -c 60
SNMP WARNING - *53* | iso.3.6.1.4.1.30155.2.1.2.1.5.3=53
As can be seen from the output above, version 1.4.15 displays OK instead of
WARNING and outputs no performance data.
Version 1.4.14 displays the expected behaviour, the warning works and
performance data is there.
I've temporarily solved my issue by reverting to version 1.4.14, but is this
expected behaviour for 1.4.15? Can I do anything different for this to work in
1.4.15 as it does with 1.4.14?
--
Dánial
More information about the Help
mailing list