When running an agentx sub-agent, and sending traps (v2 traps) from a
non-main thread, I frequently get duplicates sent after a few seconds.
My code is not sending the duplicates, but using wireshark, I can
observe them on the AgentX socket. (It doesn't matter if I use a socket
or named pipe.)
See if adding "-Dread_config" to the command line sheds any light on
what's going on.
On 15-Jul-2020 2:45 PM, Gershman, Vladimir wrote:
>
> Hello,
>
>
>
> I set up snmpv3 to use /home/user/.snmp/snmp.conf. My snmpd.conf is
> located in /test/dir1/. There is the original /etc/snmp/snmpd.conf
>
I have an embedded system running Debian 10 with snmpd v5.7.3.
I'd like to configure SNMPv3 trapsess to send auth,priv informs. How is
this done *without putting clear-text passwords *into the snmpd.conf file?
Thanks.
___
Net-snmp-users mailing list
0x1fd4728, incr_retries=1) at snmp_api.c:6750
> #4 0xb6e6e90c in snmp_sess_timeout (sessp=sessp@entry=0x1fcd138) at
> snmp_api.c:6829
> #5 0xb6e6e95c in snmp_timeout () at snmp_api.c:6663
> #6 0x00012b36 in receive () at snmpd.c:1347
> #7 0x000126a4 in main (argc=, argv=) at
>
Himanshu,
I don't know what type of system you are using, but I'm guessing that
without predictive interface names it might be very old.
I don't know what you are trying to accomplish. Do you want to serve
SNMP on both the WiFi and Ethernet interfaces? If so, you may need to
hold off starting
I thought snmpd can support mutiple
> interfaces at them same time..
>
> Thank & Regards
> Himanshu.
>
> -Himanshu
>
> On Thu, Jul 9, 2020, 02:35 John Bize <mailto:jb...@godswind.org>> wrote:
>
> Himanshu,
>
> I don
I have an embedded system running Debian 10 with snmpd v5.7.3.
I am using an agentX sub-agent to send traps to a client (send_v2trap).
My /etc/snmp/snmpd.conf contains one trap sink:
trap2sink 192.168.1.215 public
Roughly every 30 seconds, the agent is waking up and sending a couple of
return 0;/
> /
> /
> Regards
> Himanshu
>
> On Thu, Jul 9, 2020 at 5:31 AM John Bize <mailto:jb...@godswind.org>> wrote:
>
> Himanshu,
>
> I haven't looked at that part of the code, but I wouldn't expect
> snmpd to dynamically handle
>
>
> Or depending how you’ve done it you can delete “your” snmpd.conf file
> once snmpd has started. We create our snmpd.conf just before we try
> to open snmpd and so the passwords are only added then. We then
> delete the file once snmpd is running.
>
>
>
>
Bump please.
On 04-Jul-2020 10:11 AM, John Bize wrote:
>
> I have an embedded system running Debian 10 with snmpd v5.7.3.
>
> I'd like to configure SNMPv3 trapsess to send auth,priv informs. How
> is this done *without putting clear-text passwords *into the
> snmpd.con
Bump please.
On 07-Jul-2020 2:30 PM, John Bize wrote:
> I have an embedded system running Debian 10 with snmpd v5.7.3.
>
> I am using an agentX sub-agent to send traps to a client (send_v2trap).
>
> My /etc/snmp/snmpd.conf contains one trap sink:
>
> trap2sink
ealize you may need to add the createUser
> statements to the /var/lib/snmp/snmpd.conf file directly, instead of
> /etc/snmp/snmpd.conf (these are Debian 10 paths). It will replace
> them with usmUser statements, so you shouldn’t need to delete anything.
>
>
>
> *From:* John Bize
> *
gineID will be the one on
> the agent. That is the default, so there will be no need to specify a
> -e argument on the createUser call.
>
>
>
> *From:* Atkins, Brian
> *Sent:* Friday, July 17, 2020 1:38 PM
> *To:* John Bize ; Colin Anderson
> ; net-snmp-users@lists.source
yours will
> be a different.
>
>
>
> rouser scott
>
> createUser scott MD5 "becky000" DES "molly000"
>
> trapsess -v 3 -n "" -u scott -a MD5 -A "becky000" -x DES -X "molly000"
> -l authPriv 192.168.55.50
>
>
Many months ago, I tried to get a Debian 10 backport of net-snmp 5.9.
Unfortunately, there was zero interest.
Have you tried using the ldconfig tool, for recreating the dynamic
linker cache, printing it, etc? Based on what you have, that is what I
would look at next. (and LD_LIBRARY_PATH
Since you mentioned it Tobias,
In July of last year, I submitted a Debian backport request, but
received no responses.
https://lists.debian.org/debian-backports/2020/07/msg4.html
I realize of course that is not the same as RaspianOS, but this is the
first mention I've seen since then.
I'll take a shot at this.
1. For an authoritative reply however, one should probably direct CIS
questions to CIS.
2. However, any reasonable security posture would have you disable all
unused services. This is simply SOP to reduce the attack surface.
3. As for net-snmp specifically, it's
In a recent thread, Wes mentioned using "net-snmp-config
--create-snmpv3-user" to create SNMP v3 users. I recently started using
net-snmp on Debian 11 (bullseye) and discovered that the installed
/usr/bin/net-snmp-create-v3-user script had an undefined variable
(datarootdir).
My workaround
reported:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1969623
(In particular, in the Description and comment #4)
On Thu, Jun 23, 2022 at 1:46 PM John Bize wrote:
In a recent thread, Wes mentioned using "net-snmp-config
--create-snmpv3-user" to create SNMP v3
19 matches
Mail list logo