On Thu, 2010-06-10 at 09:48 +0800, Weiwei Zhang wrote:
> Hi, 
> I have developed one subagent for returnning data for snmpwalk
> request. 
> But after data received, the following error occur: 
> It is strange that all the data are correct, but the last column
> ifSpecific is wrong. 
> 
> us...@linux:~$ snmpwalk -v 2c -c public 147.128.19.39
> 1.3.6.1.2.1.2.2.1
> ...
> IF-MIB::ifSpecific.16777217 = OID: SNMPv2-SMI::zeroDotZero
> Error in packet.
> Reason: (genError) A general failure occured
> Failed object: IF-MIB::ifSpecific.16777217
> 
> Anyone has seen this before??

I'd guess that your handler returns SNMP_ERR_GENERR on end of MIB, don't
do that, just return SNMP_ERR_NOERROR.

/MF



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to