Re: Code location of errorindex (response->errindex)

2021-09-06 Thread Nishant Nayan
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 w

Re: When exactly the response is received from node 2 ?

2021-09-06 Thread Bill Fenner
On Sun, Sep 5, 2021 at 9:59 AM Nishant Nayan wrote: > My aim is to know how various parameters like errorstat and errindex etc. > are set from response. > > For an example command : > snmpget -v1 -c cmty_remotehost1 localhost SNMPv2-MIB::sysName.1 > SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysObjectID.

Re: When exactly the response is received from node 2 ?

2021-09-06 Thread Bill Fenner
By the way, I wanted to mention - I noticed your example was using SNMPv1. SNMPv1 has been obsolete since 2002 (when the RFC was moved to historic status). You should ideally be using SNMPv3, with its authorization and privacy improvements, and if not, at least use SNMPv2 which is not obsolete.