Re: Third party walk gives error with snmpd(net-snmp) daemon

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/8/6 Manish Gupta <[email protected]>:
> Dave,
>
> Now I ran the single part of the command and following are the various
> outputs, I am trying to describe the issue as much as possible.
>
> 1. pkt dump of snmp daemon (snmpd -f -Le -d with other option) ,
> this is the last output

  [snip]

I've decoded that packet, and it looks OK to me.
(It's walking part of the ipAddrTable)



> 2. Following is decode of communication of client and server from wireshark
> (wireshark shows the error for the response packet as )
>
> [Dissector bug, protocol SNMP: proto.c:1153: failed assertion "length == 4"]
> Expert Info (Error/Malformed): proto.c:1153: failed assertion "length == 4"
> Message: proto.c:1153: failed assertion "length == 4"
> Severity level: Error
> Group: Malformed

There's not really enough detail there to be useful.
All that occurs to me is that wireshark is expecting the
request ID to be 4 octets in length - it's actually 2.
(i.e. your client is sending a 16-bit ID)



> 3. Debug output of the snmpwalk command which we ran.(sm_snmpwalk -c public
> --fmt=walk -d -t 2000 10.60.3.115)

That's not really much help either, since it only show the successful
conversation
(up to the atTable).


Can you try running a GETNEXT request (*not* a walk) on the OID
    .1.3.6.1.2.1.20.1.1.10.60.3.1
Does that trigger an error or not?

If not, then try running a GETNEXT on the OID that this returns.
Keep going until you either get to .1.3.6.1.2.1.4.21.1.1.10.127.0.0.1
or the request fails.


Other things to try:
   walking the ipAddrTable
   walking the ip group
   using SNMPv1 rather than SNMPv2c


Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.