Thank you for the clarification.
Is there a way to debug both snmpget and snmpagent ?
I am querying a node (node 2) from node 1 using proxy pass, so in this case
agent on node2 sends oid values / errindex of wrong oids to node 1
(snmpmanager) ?

Thanks

On Tue, 17 Aug 2021 at 02:35, Wes Hardaker <harda...@users.sourceforge.net>
wrote:

> Nishant Nayan <nayan.nishant2...@gmail.com> writes:
>
> > I debugged in snmpget.c till the section where the request is performed.
> > The errindex is getting set after the below function call (as one of
> > the properties of &response) :-
>
> So the error index is not set by snmpget, but by the agent that snmpget
> is querying.  snmpget is just pulling the answer and the count from the
> agent's response packet and not calculating it itself.
> --
> Wes Hardaker
> Please mail all replies to net-snmp-coders@lists.sourceforge.net
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to