-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That did the trick. I can discover another device that was giving a
similar error during the actual discovery too. I did have to switch
back to SNMPv1 though.
Thanks.
Eric Newton wrote:
> Yep... there's a counter in there that's out of the 32-bit range. Patch
> attached to work around the problem.
>
> snmpwalk doesn't care because it doesn't check that the counter fits
> into 4 bytes.
>
> $ cd zenossinst
> $ cp patch-from-eric externallibs/pysnmp-3.4.3.patch03
> $ rm -rf build/pysnmp-*
> $ make pysnmp-install
>
> -Eric
>
> Steve Kondik wrote:
> I have several CentOS 4.3 (64-bit) machines that I am able to discover,
> but zenperfsnmp.log shows this:
>
> 2006-08-10 16:00:22 WARNING twsnmp.protocol: Bad response from
> ('10.100.10.12', 161):
> '0\x82\x01\xfb\x02\x01\x00\x04\x06hmsinc\xa2\x82\x01\xec\x02\x02\x05\xe0\x02\x01\x00\x02\x01\x000\x82\x01\xde0\x13\x06\n+\x06\x01\x02\x01\x02\x02\x01\n\x02A\x05\x00\x9f\x11\xe3\xff0\x12\x06\n+\x06\x01\x02\x01\x02\x02\x01\n\x04A\x04\x01EK_0\x11\x06\n+\x06\x01\x02\x01\x02\x02\x01\x0b\x02A\x03U\x85\xf80\x11\x06\n+\x06\x01\x02\x01\x02\x02\x01\x0b\x04A\x03\x04\xccA0\x0f\x06\n+\x06\x01\x02\x01\x02\x02\x01\x0e\x02A\x01\x000\x0f\x06\n+\x06\x01\x02\x01\x02\x02\x01\x0e\x04A\x01\x000\x13\x06\n+\x06\x01\x02\x01\x02\x02\x01\x10\x02A\x05\x01_\xe6\x86J0\x12\x06\n+\x06\x01\x02\x01\x02\x02\x01\x10\x04A\x04\x01\xa8(d0\x11\x06\n+\x06\x01\x02\x01\x02\x02\x01\x11\x02A\x03h\x01S0\x11\x06\n+\x06\x01\x02\x01\x02\x02\x01\x11\x04A\x03\x04\xcc:0\x0f\x06\n+\x06\x01\x02\x01\x02\x02\x01\x14\x02A\x01\x000\x0f\x06\n+\x06\x01\x02\x01\x02\x02\x01\x14\x04A\x01\x000\x11\x06\t+\x06\x01\x02\x01\x19\x01\x01\x00C\x04\x0c^I\xe30\x12\x06\x0b+\x06\x01\x02\x01\x19\x02\x03\x01\x06\n\x02\x03\x01&F0\x12\x06\x0b+\x06\x01
\x
>
> 02\x01\x19\x02\x03\x01\x06\x04\x02\x03\x012\x1a0\x12\x06\x0b+\x06\x01\x02\x01\x19\x02\x03\x01\x06\x07\x02\x03\x03aJ0\x12\x06\x0b+\x06\x01\x02\x01\x19\x02\x03\x01\x06\x08\x02\x03\x02"\x8e0\x12\x06\x0b+\x06\x01\x02\x01\x19\x02\x03\x01\x06\t\x02\x03\x07\x96)0\x10\x06\x0b+\x06\x01\x04\x01\x8fe\n\x01\x05\x02\x02\x01\x000\x11\x06\n+\x06\x01\x04\x01\x8fe\x0b2\x00A\x03\x0c\xaff0\x11\x06\n+\x06\x01\x04\x01\x8fe\x0b4\x00A\x03\x08\x82\x1d0\x12\x06\n+\x06\x01\x04\x01\x8fe\x0b5\x00A\x04\x18\x9cN\xac0\x11\x06\n+\x06\x01\x04\x01\x8fe\x0b6\x00A\x03\t\xf1([EMAIL
> PROTECTED]'
>
>
> I have tried SNMPv2 as well. I have no problems doing an snmpwalk
> against the device. I've tried the pysnmp patch mentioned in another
> post with no help.
>
> How can I debug this?
>
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
>>
> ------------------------------------------------------------------------
> --- pysnmp/proto/rfc1155.py 2006-08-08 09:39:11.000000000 -0400
> +++ pysnmp/proto/rfc1155.py 2006-08-08 11:45:22.000000000 -0400
> @@ -105,6 +105,13 @@
> # Subtyping -- value range constraint
> valueRangeConstraint = (0, 4294967295L)
> +class BigCounter(Unsigned):
> + """SNMP Counter object
> + """
> + # Implicit tagging
> + tagClass = tagClasses['APPLICATION']
> + tagId = 0x01
> +
> class Gauge(Unsigned):
> """SNMP Gauge object
> """
> @@ -172,8 +179,8 @@
> class ApplicationSyntax(Choice):
> """Constructed objects
> """
> - choiceNames = [ 'address', 'counter', 'gauge', 'ticks', 'arbitrary' ]
> - choiceComponents = [ NetworkAddress, Counter, Gauge, TimeTicks, Opaque]
> + choiceNames = [ 'address', 'counter', 'gauge', 'ticks', 'arbitrary',
> 'bug' ]
> + choiceComponents = [ NetworkAddress, Counter, Gauge, TimeTicks, Opaque,
> BigCounter]
> class ObjectSyntax(Choice):
> """Syntax of objects in MIB
> ------------------------------------------------------------------------
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE26OwMrBfzfMVwMcRAk7rAKCjAkGCBB8NgZMhg823HgGXKRvbTwCeOZ8z
n+5kyspyfHK4LHen7q6dW00=
=QFWu
-----END PGP SIGNATURE-----
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users