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
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
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
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
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
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:
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
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
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
>
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
: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
.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
--
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
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
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
(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
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-
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
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
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:
"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
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
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
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
24 matches
Mail list logo