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

2021-11-02 Thread Bill Fenner
On Tue, Nov 2, 2021 at 8:17 AM Nishant Nayan wrote: > Hi, > Is there a way to track all function calls along with this > "-Ddumpv,dumph"? > I would like to track function calls made by 'snmpd' when I run snmpget to > query OIDs from other snmp abled device. > You could try -DALL. That

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

2021-11-02 Thread Nishant Nayan
Hi, Is there a way to track all function calls along with this "-Ddumpv,dumph"? I would like to track function calls made by 'snmpd' when I run snmpget to query OIDs from other snmp abled device. Thanks Nishant On Mon, 6 Sept 2021 at 19:26, Bill Fenner wrote: > On Sun, Sep 5, 2021 at 9:59

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

2021-10-22 Thread Wes Hardaker via Net-snmp-coders
Nishant Nayan writes: > Hi, you please explain what does the below line means in snmpd.conf ? In this case the client (snmpget) is sending the request to the agent on the localhost with a specific context in the message (ctx_remote). The agent, with this configuration that indicates anything

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

2021-10-22 Thread Nishant Nayan
Hi, you please explain what does the below line means in snmpd.conf ? " proxy -Cn ctx_remote -v1 -c public :161 .1.3.6.1 " ctx_remote is defined by the line :- com2sec -Cn ctx_remote notConfigUser default cmty_remote1 On node 1 when I run "snmpget -v1 -c cmty_remote1 localhost

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

2021-09-26 Thread Nishant Nayan
The agent(node2) is also net-snmp The node1 (master) also has its agent of its own right? Nishant On Sun, 26 Sep 2021, 06:53 Bill Fenner, wrote: > On Thu, Sep 23, 2021 at 6:43 AM Nishant Nayan > wrote: > >> Thanks for the suggestions, I have tried that and I could see the data >> sent and

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

2021-09-25 Thread Bill Fenner
On Thu, Sep 23, 2021 at 6:43 AM Nishant Nayan wrote: > Thanks for the suggestions, I have tried that and I could see the data > sent and data received, however I am interested in the receiver part, as to > how the date is prepared by the receiver(node 2) based on sender's request > and then sent

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

2021-09-23 Thread Nishant Nayan
Thanks for the suggestions, I have tried that and I could see the data sent and data received, however I am interested in the receiver part, as to how the date is prepared by the receiver(node 2) based on sender's request and then sent back to sender(node1), specifically how the error index and

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.

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

When exactly the response is received from node 2 ?

2021-09-05 Thread Nishant Nayan
I am using snmpget command to understand how and when the response is created. I am using proxy and querying another node (node 2) from one (node 1) My aim is to know how various parameters like errorstat and errindex etc. are set from response. For an example command : snmpget -v1 -c