[SNMP4J] SNMPv1 Walk

Frank Fock fock at agentpp.com
Fri Mar 31 22:31:59 CEST 2006


Hi Mike,

A GET-NEXT only returns with an exception (SNMPv2c or SNMPv3)
or error (SNMPv1) if there are no more objects in a MIB view.

A GET-NEXT skips non-existant variables or variables outside
the current view.

The question is now what exact behavior do you encounter with
which management software and what agent (software).

Best regards,
Frank


Michael Shaw wrote:
> Hey Frank,
> 
>  
> 
> As you know when you do a SNMPv1 get-next on a non-existent variable,
> the error status returns with an "no error". Are there any plans to set
> the error status to something other than a "no error" (e.g. noSuchObject
> or endOfMibView) when doing a SNMPv1 walk? Net-snmp and other agents
> seem to return noSuchObject when a SNMPv1 get-next has nothing to
> return.
>  
> The reason for this is that I need to expose some of my OIDs as SNMPv1
> and when a management station performs a walk on the agent; it just goes
> off into an infinity performing a get-next on the last + 1 OID that was
> valid.
>  
> Thanks
> -Mike
> 
>  
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list