[Nagios-devel] check_snmp Changed Behavior

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] check_snmp Changed Behavior

Post by Guest »

Quick question: I'm comparing versions 1.4.14 and 1.4.15 of check_snmp
and found two differences that I suspect not to be intentional. Does
someone happen to know for sure?

1. Timeticks don't appear in the perfdata anymore:

# nagios-plugins-1.4.14/plugins/check_snmp $TARGET \
> -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -c 30000: -w 60000:
SNMP OK - 216000 | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=3D216000
# nagios-plugins-1.4.15/plugins/check_snmp $TARGET \
> -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -c 30000: -w 60000:
SNMP OK - Timeticks: (216000) 0:36:00.00 |

(This is the remaining battery runtime straight off an APC UPS, hence
I'd rather have it recorded in the RRDs for post-incident analysis.)

2. Explicit label ist placed differently in the output, and used as DS
name in the perfdata (which, in my example, results in syntactically
incorrect perfdata):

# nagios-plugins-1.4.14/plugins/check_snmp $TARGET \
> -o .1.3.6.1.4.1.318.1.1.1.3.2.5.0 -l 'My label'
My label OK - 9 | iso.3.6.1.4.1.318.1.1.1.3.2.5.0=3D9
# nagios-plugins-1.4.15/plugins/check_snmp $TARGET \
> -o .1.3.6.1.4.1.318.1.1.1.3.2.5.0 -l 'My label'
SNMP OK - My label 9 | My label=3D9

Kind regards,
J. Bern
--=20
Jochen Bern, Systemingenieur --- LINworks GmbH
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP =3D D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C2=
7
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Gesch=E4ftsf=FChrer Metin Dogan, Oliver Mic=
hel





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Jochen.Bern@LINworks.de
Locked