Friday, November 03, 2006

Sometimes I am a dumbass

I made the following post to nagios-users. Note the 50-50 success rate in redacting the snmp community string:

James Affeld wrote:
> When I run just about any kind of SNMP check, I get suitable info at the beginning of the response, but a bunch of junk at the end. It even runs into the next command line. As you might gather, this is done via an ssh connection, using putty.
>
> root@silmec2:/usr/local/nagios/libexec# ./check_snmp -H 10.139.7.1 -o .1.3.6.1.4.1.9.9.48.1.1.1.6.1 -C REDACTED -P 1
> SNMP OK - 17448296 | iso.3.6.1.4.1.9.9.48.1.1.1.6.1=17448296Üjú·ôB¿¹ÈÈÜjú·ÔB¿`B¿¨B¿¢é·;;;;
> root@silmec2:/usr/local/nagios/libexec# PuTTYPuTTYPuTTYPuTTYPuTTY
>
> If I do an snmpwalk vs. that OID, it returns cleanly.
>
> root@silmec2:/usr/local/nagios/libexec# snmpwalk 10.139.7.1 iso.3.6.1.4.1.9.9.48.1.1.1.6.1 -c 55CC0000 -v 1
> SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 17390392
> root@silmec2:/usr/local/nagios/libexec#
>
>
> I run into the same problem checking a Cisco Catalyst 6009 and HP 2524 switches. Any clues?
>

This string has been retired. I should have been, as well.

0 Comments:

Post a Comment

<< Home