Need help in forwarding SNMPv3 informs with snmptrapd

2020-12-09 Thread Feroz
core-dumps. with this topology snmv3 TRAP works without any issues, it's just v3 informs that are creating trouble. Even v2 INFORM works. VM1: root@Ubuntu3323:~# cat /tmp/snmptrapd.conf authCommunity log,net public snmpTrapdAddr udp:162,udp6:162 forward default 2.2.2.2:162 createUser feroz SHA feroz123 DE

snmptrapd for V3 informs

2021-01-06 Thread Feroz
Anyone tried forwarding V3 informs with snmptrapd? Can some one share the snmptrapd.conf file? -Feroz ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https

Re: snmptrapd for V3 informs

2021-01-12 Thread Feroz
s without any issues, it's just v3 informs that are creating trouble. Even v2 INFORM works. VM1: root@Ubuntu3323:~# cat /tmp/snmptrapd.conf authCommunity log,net public snmpTrapdAddr udp:162,udp6:162 forward default 2.2.2.2:162 createUser feroz SHA feroz123 DES feroz123 authUser log,net feroz

snmptrapd queue+retry

2021-04-28 Thread Feroz
hi, Is it possible for snmptrapd to buffer/queue the TRAP's and INFORM's and perform retry in case of failure to forward them to the destination? I see "serverRecvBuf", "serverSendBuf","retries" but they don't seem to work, when used in snmptrapd.conf

Re: snmptrapd queue+retry

2021-05-05 Thread Feroz
I tried as follows, serverRecvBuf and serverSendBuf worked, but timeout/retries didn't work. [snmp] timeout 10 [snmp] retries 60 [snmp] serverRecvBuf 425984 [snmp] serverSendBuf 425984 Moreover, I see the value of Recv/Send Buf is getting doubled in "ss -lumpna" output. -Feroz O

Re: Getting double free or corruption

2021-03-05 Thread Feroz
Do the patch mentioned for CVE-2019-20892 in the link below, will fix this double free crash? Is it safe to appy this patch? http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20892 -Feroz On Fri, 5 Mar, 2021, 2:01 am chandrasekharreddy c, < chandrasekharre...@hotmail.com> wrote:

Re: Snmptrap Buffer Error

2021-04-07 Thread Feroz
Can you share your snmptrapd.conf file contents? On Wed, 7 Apr, 2021, 4:51 pm Ahmet Muzaffer Dülger, < ahmetmuzafferdul...@gmail.com> wrote: > Hi, > > I use net-snmp 5.7.3 and I want to send snmptrap continuously on OpenWrt. > First trap message is OK. But I'm getting error when sending a second

Re: Agent+Sub-Agent

2021-09-10 Thread Feroz
Hi Bill, I have only one sub-agent running on the same box. Let me test by adding the proxy configuration in snmpd.conf that you shared. i.e: "proxy udp:127.0.0.1:9 .1.3" Thanks a lot for your response. -Feroz On Wed, 8 Sep, 2021, 11:47 pm Bill Fenner, wrote: > On Fri, Sep 3, 20

Re: Agent+Sub-Agent

2021-09-13 Thread Feroz
ri, Sep 3, 2021 at 3:43 AM Feroz wrote: > >> My question is, is there a way to block an agent from responding to >> queries ( by timeout), till time the sub-agent connects to the agent. >> > > No, the master agent always lives under the impression that it knows >

Re: Agent+Sub-Agent

2021-09-17 Thread Feroz
t.c* if (op != NETSNMP_CALLBACK_OP_RECEIVED_MESSAGE) { return 1; } + if (!IS_AGENTX_VERSION(pdu->version) && subagent_connected == FALSE) { + return 1; + } On Mon, Sep 13, 2021 at 11:37 AM Feroz wrote: > For my testing I added "proxy -v2c -c publi

Agent+Sub-Agent

2021-09-03 Thread Feroz
:sysObjectID.0 = OID: SNMPv2-SMI::enterprises..4.1.1.1.100 My question is, is there a way to block an agent from responding to queries ( by timeout), till time the sub-agent connects to the agent. -- Regards, Feroz Ahmed ___ Net-snmp-users mailing

Varbind orfer in SNMP TRAP's

2021-10-28 Thread Feroz
.1.2.1.1.3.0): 16516* *SNMPv2-MIB::snmpTrapOID.0 (1.3.6.1.6.3.1.1.4.1.0): 1.3.6.1.4.1.x.4.1.1.3.11.5.0.1* ABCD-MIB::arubaWiredFanName (1.3.6.1.4.1.x.4.1.1.3.11.5.1.1.4): DATA_1 ABCD-MIB::arubaWiredFanState (1.3.6.1.4.1.x.4.1.1.3.11.5.1.1.5): DATA_2 --

Do NetSNMP support CreateAndWait

2021-12-09 Thread Feroz
rted\n")); return MFD_NOT_VALID_EVER; } If I remove the above block from the generated Code, will I be able to perform CreateAndWait? -- Regards, Feroz Ahmed ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the

Re: [EXTERNAL EMAIL] Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-24 Thread Feroz
Can you please check, if snmptranslate helps you. https://linux.die.net/man/1/snmptranslate -Feroz On Thu, Aug 24, 2023 at 5:39 PM Jan Andersen wrote: > Thx, Feroz - got it! > > On a completely different note; do you know how snmpwalk et al figure > out which numerical OID matche

Re: snmpwalk doesn't always translate OIDs

2023-08-23 Thread Feroz
the > source what makes the difference, but it is a bit complex; what should I > look for? > > > > > ___ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change

Re: snmpwalk timeout

2022-05-06 Thread Feroz
(on the agent side) is to speed > up the loading. Either just plain faster, or caching the loaded information > somehow, so that the reply can be triggered directly, without loading for t > time-units. Then refresh the information periodically, so that the returned > information is as 'stale' as poss

snmpwalk timeout

2022-05-05 Thread Feroz
the container_load function returns the data in 2sec, we still have another 4 seconds. We should have got the response in the 3rd to 5th retry. If I increase the timeout value in snmpwalk command with "-t 3", it works fine. -- Regards, Feroz Ahmed ___ Net-

Re: Problem with SNMP set command

2022-08-14 Thread Feroz
Make sur the user/community has read-write access in snmpd.conf file. On Sun, 14 Aug, 2022, 10:03 pm murali sarali, wrote: > Hi, > > SNMP set command is failing with this error : > Error in packet. > > Reason: notWritable (That object does not support modification) > > Failed object: > Can you

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
OperStatus > #notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus > ifOperStatus > > #monitor -r 60 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 > #monitor -r 60 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 > > #trapsess -Ci -v3 -u

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
ifOperStatus != 2 > #monitor -r 60 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 > > #trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:162 > trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:16 > > Thanks, > > On Mon, Aug 15, 2022 at 11:09 AM Feroz wrote:

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
"Generate linkDown" ifOperStatus == 2 > > #trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:162 > trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:16 > > Thanks, > > On Mon, Aug 15, 2022 at 11:09 AM Feroz wrote: > >> Make sur the user/community has read-write access

Re: Problem with SNMP set command

2022-08-16 Thread Feroz
Looks like the OID itself is not writable. Can you try with other OID's. SNMPv2-SMI::enterprises.1751.2.117.20.1.1.3.1 -Feroz On Tue, Aug 16, 2022 at 9:23 AM murali sarali wrote: > Hi, > > I have modified snmpd.conf by replacing oldEngineID with : > > *engineID 8000b85

SHA Version

2022-08-13 Thread Feroz
Hi, On net-snmp 5.8, with the following configuration in snmpd.conf file, which version of *SHA *(i.e SHA1/SHA-192/SHA-256/SHA-284/SHA-512) is used? createUser feroz *SHA *feroz123 AES feroz123 rwuser feroz priv -- Regards, Feroz Ahmed ___ Net-snmp

Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Feroz
IMO we need to revert this patch, as it would cause issues in production. This is a partial fix. -Feroz On Tue, Jan 9, 2024 at 2:35 PM Vivek Aditya wrote: > Thanks for quick response > > I am working on this feature and able to achieve partial success. There is > one use case w