Re: Connect 1 agent/application to several snmpd/master

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Philippe Guibert writes: > I think you can confirm me it is not possible to 1 agent: N masters > relationships ? That is correct, the current code does not support more than one parent agent. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net

Re: Problem with proxy the entire tree

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Jenny Yao writes: > It works fine. However, we would like to have this proxy transparent to the > user, and wonder if there is a way to achieve this without using > context. There is no way to do exactly what you want without removing the registrations that the agent itself is implementing. You

Re: snmpget: Remove quotes in output string

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Hi All, > > I can understand response to snmpget/snmpwalk display string datatype  in > double-quotes as in following example.  Kindly let me know If there any way to > remove or hide quotes from display. I know you anwsered yourself, but you might also read the OUTPU

Re: Need help to "drop the response" for a request

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > If the former then there is no support. Additionally, it would be in violation of the RFC which says a response must be sent when authentication has succeeded. Thus, if someone uses the correct community name or SNMPv3 credentials, they always deserve a response at le

Re: getting crash in netsnmp_send_traps, is there any patch for netsnmp-5.8 for below crash path?

2020-09-18 Thread Magnus Fromreide
On Fri, Sep 18, 2020 at 08:21:35PM +0530, Sanjay Kumar wrote: > Hi Expert, > > I am getting a crash in the below backtrace path. You have removed most of the interesting parts of the stack trace. Given the information you have provided there is no way for us to help you. Please provide

Re: Need help to "drop the response" for a request

2020-09-18 Thread Magnus Fromreide
On Fri, Sep 18, 2020 at 04:39:21PM +0530, Sanjay Kumar wrote: > Hi Net-SNMP team, > Need help on below scenario: > We are handling the Error condition for the SNMP request(get/set) packet > with the below options in the *"subagent"* > > netsnmp_request_set_error(reques

getting crash in netsnmp_send_traps, is there any patch for netsnmp-5.8 for below crash path?

2020-09-18 Thread Sanjay Kumar
Hi Expert, I am getting a crash in the below backtrace path. I am not sure, it because of* Input to **send_trap_vars* or *some issue in netsnmp_send_traps, at agent_trap.c:1014* Wanted to check if anyone encountered the crash in the below path? Or any patch is available for this par

Need help to "drop the response" for a request

2020-09-18 Thread Sanjay Kumar
Hi Net-SNMP team, Need help on below scenario: We are handling the Error condition for the SNMP request(get/set) packet with the below options in the *"subagent"* netsnmp_request_set_error(request, SNMP_ERR_NOSUCHNAME); netsnmp_request_set_error(request, SNMP_ERR_GENE