RE: Length issue for OID value in Netsnmp-5.4.2.1 version
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0CD483EA@mailserver.metatv-ds.metatv.com> |
> From: ambikacp [mailto:[email protected]] > Sent: Monday, August 10, 2009 1:05 AM > I have upgraded netsnmp-5.3.x to netsnmp-5.4.2.1 version in linux > environment.snmp daemon is up and running for netsnmp-5.4.2.1. I am using > MIB Browser to execute snmp queries, when I do snmpwalk from top of the > MIB tree its failing at one particular OID 1.3.6.1.4.1.11.2.4.3.20.4.0 with "Generic > Error". This is a scalar OID which is of type OCTET STRING, the value returned > by this OID is of length 2048 bytes. It seems that there is a length issue, because > if I return the value with reduced length to 1024 bytes then the snmpwalk gets > through well. so, when the length is around 1400 bytes snmpwalk starts giving > the error message as "Generic Error". snmpwalk failure for this OID is > consistent if the length is retained to 2048bytes. > > importantly please note that the same OID with 2048bytes of length value was > working perfectly fine in the earlier version of netsnmp-5.3.x version. I have > taken all the patches from my earlier version also. This may not be a net-snmp issue. SNMP over UDP is limited to the MSS of the connection between the machines. Ethernet has a maximum packet size of a little over 1400 bytes - longer packets may not get through your network. This is a known issue, and was a tradeoff design decision in SNMP. If you server supports it, try this query over TCP. HTH, Mike ------------------------------------------------------------------------------ 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