check_snmp/snmpget problem

Hello all, long-time Nagios user here. Been using it largely without problems until now. I’m trying to move from 1.2 on Debian Woody (snmpget 4.2.3) to 2.5 on Debian Sarge, with plugins 1.4.3 and snmpget 5.1.2. I’m running into issues with check_snmp (and anything that uses it)…

Here’s the output on Sarge:
./check_snmp -H localhost -o .1.3.6.1.2.1.1.1.0
SNMP OK - “Linux fs4 2.6.8-3-686 #1 Sat Jul 15 10:32:25 UTC 2006 i686” | iso.3.6.1.2.1.1.1.0=“Linux fs4 2.6.8-3-686 #1 Sat Jul 15 10:32:25 UTC 2006 i686”;;;;

and on my older Woody box…
./check_snmp -H fs4.phx.ilinc.com -o .1.3.6.1.2.1.1.1.0
SNMP OK - Linux fs4 2.6.8-3-686 #1 Sat Jul 15 10:32:25 UTC 2006 i686

All the extra junk at the end of the result is confusing other scripts. I’ve tried every snmp.conf variable to eliminate it, but no luck… I’m sure it’s something simple, but I just can’t find it. Anyone?

The stuff after the pipe | is performance data. That data can be used in such tools as nagiostat that will parse that data, and display it in a mrtg type graph. If you don’t want your plugin to display, then edit the source code for the plugin, or get an older plugin that doesn’t have it. or write your scripts to ignore the data after the pipe.