[AGENT++] Processing errors for multiple varbinds in SNMP request

Frank Fock fock at agentpp.com
Thu Nov 13 23:10:50 CET 2003


Rajesh,

the processing of a request will be finished when the first error is 
encountered,
thus AGENT++ always reports the first error it detects.

Best regards,
Frank

Rajesh Semwal wrote:

>Hi,
>
> 
>
>I have a question about the SNMP agent's behaviour when it encounters
>multiple errors while processing any SNMP request from the manager. 
>
> 
>
>When the agent encounters any error while processing a varbind from the SNMP
>request, it sets the error_status and error_index field of SNMP response PDU
>with the respective error number and the index number of the varbind
>respectively.  If the agent again encounters error while processing the rest
>of the varbinds in the same SNMP request, should it update the error_status
>and error_index fields of the SNMP response with newly encountered errors?
>If yes, this may mean that SNMP Response PDU always reports the last error
>encountered while processing the SNMP request.
>
> 
>
>Thanks,
>
>Rajesh
>
>
>  
>






More information about the AGENTPP mailing list