Fwd: snmpd agent does not want to reply

2024-01-17 Thread wim delvaux
HI all, I have a 5.7.3 server and 5.9.1 clients running on different computers. The problem is the client does not get any answers from the server when running with the -d option I see a send and a receive of one packet (I presume authentication) and then a set of sends but not receives and

snmpd as proxy v3

2023-05-01 Thread Mohsen Pahlevanzadeh
Hello, I have the following scenario: I have a Host P as snmpd I have a CoreSwitch as pool of vlan. Then I have a host p and q. P has o do snmp on CoreSwitch and collect data. Then p and q do snmpd on P host. All of them must be snmpv3 . Can I implement it with snmpd? Specially V3. --Regards

RE: net-snmpd crash

2022-08-05 Thread 김동휘
. = From: Velu Munuswamy [mailto:velumunusw...@gmail.com] Sent: Thursday, July 28, 2022 8:27 PM To: net-snmp-users@lists.sourceforge.net Subject: Reg: net-snmpd crash Hi, We are getting a segmentation fault

Reg: net-snmpd crash

2022-07-28 Thread Velu Munuswamy
Hi, We are getting a segmentation fault in "run_config_handler" which is in net_snmpd library code. core dump is not consistent to reproduce the issue. Using net-snmp version 5.8. Below is the backtrace. << (gdb) bt #0 0x in ?? () #1 0x7ff35d9e4286 in

snmpd fails to send V3 Traps: Failed to find engine data

2022-03-31 Thread Larry Hayes
Hello, I am running snmpd on a Windows PC and am trying to get SNMP V3 traps/informs to work. No issues with V2c Traps/Informs. net-snmp-5.8 I created the V3 users and it is retrievable from the usmUserTable. Name/OID: usmUserSecurityName

snmpd not responding?

2022-03-03 Thread Mike Eggleston
I’m on the local machine. SNMPD is running (ps -ef | grep snmpd). I see the ports open (netstat -a -n | grep 161). I’m doing “snmpwalk -v2c -c $STRING localhost SNMPv2-MIB::sysDescr.0” and getting a timeout response. How to fix this? Mike ___ Net

Re: Ref. snmpd question

2022-01-21 Thread Wes Hardaker via Net-snmp-users
Mauricio Giovagnini via Net-snmp-users writes: > 1. First of all make install will copy the binary to > /usr/local/sbin/snmpd even if doing a $ sudo make install > So the simple process was to copy it to the location expected > $ sudo cp /usr/local/sbin/snmpd /usr/sbin/ The use o

Re: Ref. snmpd question

2021-12-23 Thread Mauricio Giovagnini via Net-snmp-users
Well, I finally find the answer. I will post here so others can benefit from it if they have a similar issue 1. First of all make install will copy the binary to /usr/local/sbin/snmpd even if doing a $ sudo make install So the simple process was to copy it to the location expected $ sudo cp

Ref. snmpd question

2021-12-22 Thread Mauricio Giovagnini via Net-snmp-users
then which is the problem I have I am working on an Ubuntu 20.04 64bit 1. The first thing I tried is to install the default stuff from Ubuntu, so I did an $ sudo apt install snmpd Then I edited the  /etc/snmp/snmpd.conf file to open the agent at 161 , by adding agentaddress udp:161,udp6:[:

Re: createUser not updated after snmpd stop and start in 5.8

2021-09-13 Thread Larry Hayes
I also create V3 users with the procedure you indicate. When you stop snmpd, it writes the persistence file. So you cannot edit that file while snmpd is running. The procedure that works for me: 1) Stop snmpd 2) Wait for PID of snmpd to go away, if you have a large number of V3 users, it lengthens

createUser not updated after snmpd stop and start in 5.8

2021-09-12 Thread Saleem
Hi I am using net-snmp v 5.8 version in a custom Linux setup. I have configured a V3 user by following the below steps. 1. Update the createUser directive in persistent snmpd conf file (var/net-snmp/snmpd.conf in my system) createUser testsnmpv3user SHA TestAuth123p AES128 Testpriv123p 2

RE: SNMPd cores

2021-04-29 Thread Krishna Vivek Vitta via Net-snmp-users
Kindly help for the below core dumps. Thank you Krishna Vivek From: Krishna Vivek Vitta via Net-snmp-users Sent: 22 April 2021 09:01 To: net-snmp-users@lists.sourceforge.net Subject: RE: SNMPd cores [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments unless you have

RE: SNMPd cores

2021-04-21 Thread Krishna Vivek Vitta via Net-snmp-users
Hi experts Any inputs that can be suggested. Thank you Krishna Vivek From: Krishna Vivek Vitta via Net-snmp-users Sent: 19 April 2021 20:22 To: Subject: SNMPd cores [CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments unless you have verified the sender and know

SNMPd cores

2021-04-19 Thread Krishna Vivek Vitta via Net-snmp-users
Hi Team We are seeing below snmpd cores. Please provide your input of what can cause these and measures to mitigate. #0 0x000800d99f5c in md5_block_asm_data_order () from /lib/libcrypto.so.6 #1 0x0003 in ?? () #2 0x01c6c1c0 in ?? () #3 0x00071b07 in ?? () #4

snmpd core with "double free or corruption (fasttop)" in 5.8

2020-10-01 Thread Saleem
Hi Experts, we upgraded the net-snmp recently in our project to the 5.8 version. One of our Linux box got a snmpd core with below backtrace pointing to agentx_master_handler() call. Generating backtrace for core.snmpd.6.4.3e.7403 Using /usr/sbin/snmpd to generate backtrace for core.snmpd.6.4.3e

Re: snmpd crashes when wlan0 interface acquire IP address

2020-08-08 Thread Himanshu Sharma
; https://sourceforge.net/p/net-snmp/mailman/message/37018116/. > Actually ,If I shut down Subagent before bringing up WiFi ,snmpd doesn't > crash.Looks like a crash was due to some communication problem between > snmpd & Subagent. > However, when I start my Subagent post WiFi is brou

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-11 Thread John Bize
n/message/37018116/. > Actually ,If I shut down Subagent before bringing up WiFi ,snmpd > doesn't crash.Looks like a crash was due to some communication problem > between snmpd & Subagent.  > However, when I start my Subagent post  WiFi is brought up ,it is not > behavin

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-10 Thread Himanshu Sharma
Hi John, Thanks for the courtesy . I am using Subagent. Here is a thread of discussion on the same https://sourceforge.net/p/net-snmp/mailman/message/37018116/. Actually ,If I shut down Subagent before bringing up WiFi ,snmpd doesn't crash.Looks like a crash was due to some communication problem

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-09 Thread John Bize
f the devs could jump in.  I have two unanswered posts in the last week or so. / On 09-Jul-2020 4:20 PM, Himanshu Sharma wrote: > Hi John, > > Before the crash occurs ,I can see the following error message from > the snmpd log. > *Unknown operation 6 in agentx_got_response.* >

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-09 Thread Himanshu Sharma
Hi John, Before the crash occurs ,I can see the following error message from the snmpd log. *Unknown operation 6 in agentx_got_response.* *Have you seen anything like this before?* This comes from the file : net-snmp-5.8/agent/mibgroup/agentx/master.c *snmp_log(LOG_ERR, "Unknown operati

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread John Bize
Himanshu, I haven't looked at that part of the code, but I wouldn't expect snmpd to dynamically handle changing interfaces.  The only thing I could suggest is to stop the service while initializing the wifi, and restarting it when wifi is up.  When it starts, it should find all interfaces, unless

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread Himanshu Sharma
) to a wifi router ..the wlan0 interface acquires ip address, and snmpd crashes. -Himanshu On Thu, Jul 9, 2020, 02:50 Himanshu Sharma wrote: > Hi John, > > Thanks for prompt reply. > I am using net-snmp version 5.8. > I want SNMP to serve on both ethernet and wifi.When my system bootup

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread Himanshu Sharma
Hi John, Thanks for prompt reply. I am using net-snmp version 5.8. I want SNMP to serve on both ethernet and wifi.When my system bootup Ethernet eth0 in my case will acquire ip address using dhcp immediately..At this moment my snmpd is already up. Now, at some point later..I will connect my

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread John Bize
snmpd until the interfaces are up and your WiFi is connected.  I wouldn't excpect snmpd to dynamically handle changing interfaces.  If you only want to serve it on the Ethernet interface ans it is statically configured, then specify that IP with the "agentAddress" configuration directi

Re: snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread Himanshu Sharma
+Bill and Larry -Himanshu On Thu, Jul 9, 2020 at 2:02 AM Himanshu Sharma wrote: > Hi All, > > I am facing a very weird issue. > I have 2 interfaces on my system. > *The moment the wlan0 acquires the ip address snmpd crashes.* > If there is only one interface let say *eth0*

snmpd crashes when wlan0 interface acquire IP address

2020-07-08 Thread Himanshu Sharma
Hi All, I am facing a very weird issue. I have 2 interfaces on my system. *The moment the wlan0 acquires the ip address snmpd crashes.* If there is only one interface let say *eth0*.,snmpd works fine. One more problem is *coredump* analysis of crash using gdb, shows different backtrace everytime

Is there a list of snmpd -DTOKEN allowed values somewhere?

2020-07-07 Thread François Isabelle
Hi I'm trying to narrow down a problem with SNMPD while -Dall gives too much information to my taste, I was hoping to find a list of recognized tokens. Does such a list exist? Thank you Frank ___ Net-snmp-users mailing list Net-snmp-users

Snmpd not answering if an unknown context is used in query from client

2020-02-25 Thread daniele
Hello everybody, I'm using NET-SNMP 5.7.3 with SSL support enabled and I can properly configure the daemon to run SNMPV3 with authNoPriv users. At run time my subagent will register OIDs with a configurable context name. Everything is working perfectly. However I can see a minor but unexpected

Re: Behavior of snmptrapd and snmpd when using certificates (TSM, DTLS)

2020-01-07 Thread Anders Wallin
e problem! > > You should think more then twice before using TLS/DTLS. > The code is full of bugs and design issues (like sending traps before > checking hostnames etc) and it's using deprecated version of TLS. > > Regards > Anders Wallin > > > On Wed, Nov 27, 2019 at 9:33 PM Larry

Re: Determine snmpd status

2019-12-24 Thread Paul Herring
es? > > I found that checking if the log file exists gives a good indication (if > it was created already, snmpd is ready), but then there's a problem when I > turn snmpd on, off and then on again. Since the log file isn't deleted when > snmpd is turned off, it's gonna be there in the se

Determine snmpd status

2019-12-22 Thread Raz Moshe
(if it was created already, snmpd is ready), but then there's a problem when I turn snmpd on, off and then on again. Since the log file isn't deleted when snmpd is turned off, it's gonna be there in the second time even before I turn snmpd on. A short sleep() after turning snmpd on can do the trick

Re: Behavior of snmptrapd and snmpd when using certificates (TSM, DTLS)

2019-11-29 Thread Bart Van Assche
On Wed, Nov 27, 2019 at 9:33 PM Larry Hayes <lhay...@gmail.com> wrote: It is even worse with TLS. When the snmptrapd is restarted without restarting the

Re: Behavior of snmptrapd and snmpd when using certificates (TSM, DTLS)

2019-11-27 Thread Anders Wallin
wrote: > It is even worse with TLS. > > When the snmptrapd is restarted without restarting the snmpd: > > kill the snmptrapd: > > From the snmpd logs: snmpd detects the connection close. > > Nov 27 14:23:51 apcon-ubuntu snmpd[22569]: tlstcp: > Nov 27 14:23:51 apcon-ub

Re: Behavior of snmptrapd and snmpd when using certificates (TSM, DTLS)

2019-11-27 Thread Larry Hayes
It is even worse with TLS. When the snmptrapd is restarted without restarting the snmpd: kill the snmptrapd: >From the snmpd logs: snmpd detects the connection close. Nov 27 14:23:51 apcon-ubuntu snmpd[22569]: tlstcp: Nov 27 14:23:51 apcon-ubuntu snmpd[22569]: remote side closed connect

Behavior of snmptrapd and snmpd when using certificates (TSM, DTLS)

2019-11-20 Thread Larry Hayes
Hello, I am using net-snmp v5.8 r0. I think I have successfully configured an snmpd server to generate V3 Traps/Informs using TSM with certificates and have an snmptrapd receive those V3 Traps/Informs. As I can see the Trap/Infom data dumped to the window snmptrapd is running. My issue is, when

Re: How to add SNMP-TSM-MIB to snmpd

2019-11-15 Thread Larry Hayes
I got it working. I was correct in that it was a build/configuration issue. I had to add this to the configuration options at build time: '--with-mib-modules=tsm-mib' After that the snmpd started to respond with data: larryh@apcon-ubuntu:~/.../tls$ snmpget -m +SNMP-TSM-MIB -v

Re: How to add SNMP-TSM-MIB to snmpd

2019-11-15 Thread Larry Hayes
1.3.6.1.2.1.190.1.2.1.0 SNMP-TSM-MIB::snmpTsmConfigurationUsePrefix.0 = No Such Object available on this agent at this OID I see in the snmpd output at start up time: Nov 15 10:05:33 apcon-ubuntu snmpd[14186]: A SNMP version other than 3 was requested with (D)TLS; using 3 anyways I feel this is either

Re: How to add SNMP-TSM-MIB to snmpd

2019-11-14 Thread Anders Wallin
Hi Larry, you need to use "-v 3", there is no TLS support in "2c" Regards Anders Wallin On Thu, Nov 14, 2019 at 9:18 PM Larry Hayes wrote: > I am using 5.8.r0 net-snmp. > > I have build the net-snmp library and snmpd with the flags for TSM: >

How to add SNMP-TSM-MIB to snmpd

2019-11-14 Thread Larry Hayes
I am using 5.8.r0 net-snmp. I have build the net-snmp library and snmpd with the flags for TSM: *--with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP* *and--with-mibs=SNMP-TSM-MIB:* I can get the snmpd daemon running with self signed cert access working. Installed the TSM Mib

Using one AgentX sub-agent with multiple master snmpd daemons

2019-10-17 Thread Babis Chalios
Hello, I am in the process of writing my own AgentX sub-agent for serving some MIB. I was wondering whether it is possible to have the same sub-agent connect to more than one master agents. I have been looking around both in documentation (I couldn't find a relative example) and the source

Using one AgentX sub-agent with multiple master snmpd daemons

2019-10-17 Thread Babis Chalios
Hello, I am in the process of writing my own AgentX sub-agent for serving some MIB. I was wondering whether it is possible to have the same sub-agent connect to more than one master agents. I have been looking around both in documentation (I couldn't find a relative example) and the source

snmpd MIB Question

2019-08-20 Thread Doug Ehlers
just fine with snmptranslate, snmpd throws a configuration error saying it can't find the OID. I can see in the -Dread_config output of snmpd that it is seeing and loading my custom MIB file, and obviously snmptranslate is seeing it as well. The question is this. Should I be able to do

snmpd

2019-06-09 Thread Satya Prakash Prasad
I always get below error when ever I start snmpd: $ ./snmpconf -g basic_setup .. Do you want to configure where and if the agent will send traps? (default = y): n

Force snmpd to only respond to authPriv requests.

2019-03-28 Thread Johnnyah McLean
Is there a way, in snmpd.conf to force snmpd to only respond to authPriv requests? Thx! ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https

RE: snmpd[20456]: %WAAS-UNKNOWN-3-899999: truncating integer value > 32 bits

2019-03-25 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, Could you kindly help on this. Thanks, Kiran From: Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) Sent: 13 March 2019 23:23 To: 'net-snmp-users@lists.sourceforge.net' Subject: snmpd[20456]: %WAAS-UNKNOWN-3-89: truncating integer value > 32 bits

snmpd[20456]: %WAAS-UNKNOWN-3-899999: truncating integer value > 32 bits

2019-03-13 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, Our customer reported below messages. Customer want to know the impact and how to stop them. -- Mar 10 16:35:03 10.137.33.13 2019 Mar 10 07:35:10 snmpd[20456]: %WAAS-UNKNOWN-3-89: truncating integer value > 32 bits Mar 10 16:35:40 10.137.33.13 2019 Mar

Can snmpd be configured, built and installed to run with specified user and group

2019-02-19 Thread Johnnyah McLean
I've solved my problem. snmpd provides the -u and -g command line switches. After startup, it will switch to the userid and groupid provided. It's dynamic config files will be created and accessed using this user and group. To enable remote configuration, I needed to be able to run net-snmp

Can snmpd be configured, built and installed to run with specified user and group

2019-02-14 Thread Johnnyah McLean
Is there a way to configure, build, install and run snmpd with a specific user and group? Something other than root:root, thx. ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change

Limiting MIB access to snmpd

2019-01-04 Thread Larry Hayes
I have built the snmpd and a custom agentx sub agent. When I compiled the daemon and sub agent I specified the with mibs: --with-mibs=SNMPv2-MIB:RFC1213-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:My-MIB:My-4K-EVENTS-MIB:My-4K-MIB

RE: Starting snmpd from WiX installer on Windows?

2018-10-30 Thread aaron.friesen
I figured it out looking at the code. The service MUST be called "Net-SNMP Agent". -- Aaron From: aaron.frie...@non.keysight.com Sent: Tuesday, October 30, 2018 10:25 AM To: net-snmp-users@lists.sourceforge.net Subject: Starting snmpd from WiX installer on Windows? All, Working on

Starting snmpd from WiX installer on Windows?

2018-10-30 Thread aaron.friesen
All, Working on a project that includes Net-SNMP and want to add the components to an existing WiX-based MSI installer, with snmpd running as a service. Has anyone done this before, or can provide pointers on configuring snmpd as a service, and so that it starts during install? I prefer

Re: SNMPD v5.8 Error opening specified endpoint

2018-08-29 Thread Bill Fenner
ess the problem that a socket that is bound to a > port will receive packets destined to that port, so if you bind to > 0.0.0.0:62134 and someone sends you a packet to port 62134 that socket > will receive it. This isn't much of a problem since snmpd never reads from > this port. The i

Re: SNMPD v5.8 Error opening specified endpoint

2018-08-26 Thread Bill Fenner
why this behavior is desirable. From the comment, I *think* the intent to address the problem that a socket that is bound to a port will receive packets destined to that port, so if you bind to 0.0.0.0:62134 and someone sends you a packet to port 62134 that socket will receive it. This isn't much of a pr

Re: SNMPD v5.8 Error opening specified endpoint

2018-08-25 Thread Martin Frlin
lientaddr support that would clearly have been better to push into > the transport parsing instead. > > Bill > > >> V V čet., 23. avg. 2018 ob 11:47 je oseba Martin Frlin < >> martin.fr...@gmail.com> napisala: >> >>> If you have line: >>>

Re: SNMPD v5.8 Error opening specified endpoint

2018-08-24 Thread Bill Fenner
com> napisala: > >> If you have line: >> trapsink localhost public >> in your config v5.8 fails to start. Meanwhile v5.3 starts with no >> problems. >> >> Am I missing something or is this a bug?. >> >> This output was generated using exactl

Re: SNMPD v5.8 Error opening specified endpoint

2018-08-23 Thread Martin Frlin
This output was generated using exactly the same config > v5.8 > # snmpd -Dnetsnmp_udpbase -Lo -f > registered debug token netsnmp_udpbase, 1 > Log handling defined - disabling stderr > netsnmp_udpbase: open remote UDP: [127.0.0.1]:162->[0.0.0.0]:0 > netsnmp_udpbase: binding sock

SNMPD v5.8 Error opening specified endpoint

2018-08-23 Thread Martin Frlin
If you have line: trapsink localhost public in your config v5.8 fails to start. Meanwhile v5.3 starts with no problems. Am I missing something or is this a bug?. This output was generated using exactly the same config v5.8 # snmpd -Dnetsnmp_udpbase -Lo -f registered debug token

snmpd crashes when starting on uClinux

2018-06-22 Thread John Emrich
Hello, When compiling net-snmp [with shared libraries] on linux with target for uClinux, snmpd builds without error. When running snmpd on uClinux, why would snmpd execution crash before executing the 1st statement? thanks John Emrich

Re: snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2018-05-02 Thread Alan Del Tredici
Similar issue in v5.7.3. The one-line patch *was* useful, although I had to disable the ifXTable persistent data storage (by commenting out the ifXTable entries in /var/net-snmp/snmpd.conf [the one that says DO NOT EDIT all over]) to allow the init values to be maintained, rather than

snmpd hangup a startup

2018-01-17 Thread benoit.martin
;/usr/share/snmp/snmp_perl.pl" in smpd.conf On second server tried the same but no luck... I then added : perl do "/usr/share/snmp/snmp_perl.pl" in smpd.conf Agent start but work 1 time ... I added $agent->main_loop(); in perl code and agent work again !! But snmpd daeomon startup

Re: UPDATE: Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2018-01-02 Thread Bill Fenner
On Mon, Jan 1, 2018 at 11:33 PM, Jose Roberto Fernandez Anahia < jrfn...@gmail.com> wrote: > Hello Bill, > Thank you for your post. > > Well, I tried some configurations in my snmpd.conf, disabling ipv6, listen > in only one interface, etc. > but never tried trapsess, i.e. I already used

Re: UPDATE: Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2018-01-02 Thread Jose Roberto Fernandez Anahia
minutes, 0 seconds.: .iso.org.dod.internet.snmpV2.snmpModules.1.1.4.1.0: Object ID: .1.3.6.1.6.3.1.1.5.1: .iso.org.dod.internet.snmpV2.snmpModules.1.1.4.3.0: Object ID: .1.3.6.1.4.1.8072.3.2.10: He is the debug output when I run snmpd: registered debug token mib_init, 1 registered debug

Re: UPDATE: Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2018-01-01 Thread Jose Roberto Fernandez Anahia
waas unable to use agentaddress clause, with the 5.7.3 just a message saing that the end point couldnt be used, with 5.8.dev. the message says that the end point couldn’t be used because the address (anyone) is in use, what is not true. I also disabled IPV6 in my host where snmpd is running

Re: UPDATE: Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2017-12-28 Thread Bill Fenner
On Thu, Dec 28, 2017 at 2:02 PM, Jose Roberto Fernandez Anahia < jrfn...@gmail.com> wrote: > Something really .. really wrong with the network code on NET-SNMP. > You don't say much about *exactly* what's in your snmpd.conf, but I tried this: agentaddress udp:161,tcp:161,udp6:161,tcp6:161

UPDATE: Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2017-12-28 Thread Jose Roberto Fernandez Anahia
ot;MY_COMPANY_MIB" \ --with-mibdirs=/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Begin forwarded message: From: Jose Roberto Fernandez Anahia <jrfn...@gmail.com> Subject: Starting snmpd deliver 128 duplicate notifications to each trap2sink des

Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2017-12-27 Thread Jose Roberto Fernandez Anahia
to my subagent code. I explicitly disable udp6 and tcp6 (IPv6) in compilation of the 5.8.dev and used in the snmpd.conf: agentaddress udp:192.168.0.221:161 :~# /mnt/hgfs/Projects/net-snmp-5.8.dev/code/agent/snmpd -f

Starting snmpd deliver 128 duplicate notifications to each trap2sink destinations

2017-12-26 Thread Jose Roberto Fernandez Anahia
Hello Fellows Any help will be very appreciated, since I’m in a serious trouble with duplicate notifications. Having configured in the snmpd.conf two trap2sink directives … Why when I start snmpd it sends 128 duplicated notifications to each trap2sink configured destinations

Re: net-snmpd proxy problem

2017-10-28 Thread Robert Story
On Fri, 8 Sep 2017 08:49:02 +0200 Bernd wrote: BE> I have a problem with proxy configuration on net-snmpd. I have BE> a software running an snmp agent on some port internally and BE> have the system net-snmpd configured to proxy to that agent. BE> Now when the software is running ever

net-snmpd proxy problem

2017-09-08 Thread Bernd Eilers
Hi there! I have a problem with proxy configuration on net-snmpd. I have a software running an snmp agent on some port internally and have the system net-snmpd configured to proxy to that agent. Now when the software is running everything works well but when it is not running just every

How to start snmpd without any MIB module

2017-06-16 Thread 徐 勇
Hi, I'm confused about the -I option, what's the default behavior on the mib modules inclusion? If I want to start snmpd without any MIB supported(in fact, I want to implement most them in subagent) , how to? -I [-]INITLIST This option specifies which modules you do

Re: snmpd - snmpget and snmpwalk inconsistent

2017-05-23 Thread Ryan Goodfellow
7fktxx5ruyuw7ve...@mail.gmail.com>: > > Hi, > > > > I have observed a puzzling inconsistency between the get and walk > requests > > from snmpd. I am running the daemon on a Cumulus Linux switch. The > > following shell sessions shows the issue. > > > > ##

Antw: snmpd - snmpget and snmpwalk inconsistent

2017-04-24 Thread Ulrich Windl
>>> Ryan Goodfellow <rgood...@isi.edu> schrieb am 21.04.2017 um 20:43 in >>> Nachricht <cabnjgmihzm3g8bns3x_7befrfphkckdq7fktxx5ruyuw7ve...@mail.gmail.com>: > Hi, > > I have observed a puzzling inconsistency between the get and walk requests > from s

snmpd - snmpget and snmpwalk inconsistent

2017-04-21 Thread Ryan Goodfellow
Hi, I have observed a puzzling inconsistency between the get and walk requests from snmpd. I am running the daemon on a Cumulus Linux switch. The following shell sessions shows the issue. ### SERVER (stem) ### ry@stem$ snmpd --version NET-SNMP version: 5.7.3 ry@stem$ service snmpd restart ry

Re: net-snmp instalation problem :snmpd not installed

2017-02-23 Thread Wes Hardaker
deepak.sachan deepak.sachan <deepak.sac...@deal.drdo.in> writes: > 1. I am not able to find snmp.conf You likely need to create them. Some packages come with example configuration files, I'm not sure about ubuntu. > 2. snmp server (snmpd) is not installed. (is it possible whil

Re: Compiled SNMP, ld: fatal: Symbol referencing errors. No output written to .libs/snmpd when trying to make

2017-02-20 Thread Clement Dass
first referenced >> > symbol in file >> > picl_initialize ./.libs/libnetsnmpmibs.so >> > picl_get_propval_by_name./.libs/libnetsnmpmibs.so >> > picl_get_propinfo_by_name ./.libs/libnetsnmpmib

Re: Compiled SNMP, ld: fatal: Symbol referencing errors. No output written to .libs/snmpd when trying to make

2017-02-20 Thread Clement Dass
> picl_get_propval_by_name./.libs/libnetsnmpmibs.so > > picl_get_propinfo_by_name ./.libs/libnetsnmpmibs.so > > picl_get_propval./.libs/libnetsnmpmibs.so > > picl_shutdown ./.libs/libnetsnmpmibs.so > > picl_get_root

Compiled SNMP, ld: fatal: Symbol referencing errors. No output written to .libs/snmpd when trying to make

2017-02-19 Thread Clement Dass
al: Symbol referencing errors. No output written to .libs/snmpd collect2: error: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/usr/local/src/net-snmp/agent' make: *** [subdirs] Error 1 OS: SunOS Narada125 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-V490 Kindly

Re: oldEngineID changes upon restart of snmpd

2017-02-08 Thread Pushpa Thimmaiah
Hi, engineID value is 'random' by default so whenever snmpd restarts , there will be new engineID. It can be reconfigured (Add keyword 'engineIDType' in etc/snmp/snmpd.conf) to be based on MAC then engineID will be constant. engineIDType 1|2|3 specifies that the engineID should be built from

net-snmp instalation problem :snmpd not installed

2017-01-20 Thread deepak . sachan deepak . sachan
Hi I am trying to install net-snmp on ubuntu13.10 from .tar source . After complete installation- 1. I am not able to find snmp.conf 2. snmp server (snmpd) is not installed. (is it possible while installing net-snmp ,snmpd is not installed ) 3. All the snmp client tool (snmpwalk ,snmpget etc

oldEngineID changes upon restart of snmpd

2017-01-20 Thread Gerrit Avenant
I am running net-snmp 5.7.3 on an embedded linux platform. It seems to me my oldEngineID is changed upon each restart of the daemon. I stop the daemon. I create a user in the persistent snmpd.conf through createUser. I restart the daemon and oldEngineID matches that of the usmUser created. I

Re: Unable to access snmpd from anywhere but localhost

2017-01-18 Thread Pushpa Thimmaiah
e: > foobarski > Enter encryption pass-phrase: >[press return to reuse the authentication pass-phrase] > > adding the following line to /var/lib/net-snmp/snmpd.conf: > createUser nagios MD5 "foobarski" DES > adding the following line to /etc/snmp/snmpd.conf: >

Unable to access snmpd from anywhere but localhost

2017-01-10 Thread Ed Greenberg
/etc/snmp/snmpd.conf: rwuser nagios [root@alpha ~]# Then I start snmpd with [root@alpha ~]# snmpd -LEd -f -d -a NET-SNMP version 5.7.2 This should log to standard error, anything debug or better, without detaching. From 10.0.0.244 I run snmpget -v3 -u nagios -a MD5 -A foobarski -l authPriv

Re[2]: snmpd handles limit

2016-08-30 Thread Christian Tardif
. Christian Tardif -- Message d'origine -- De: "Eduardo Bragatto" <edua...@bragatto.com> À: net-snmp-users@lists.sourceforge.net Envoyé : 2016-08-30 17:04:44 Objet : Re: snmpd handles limit Hi, The error “too many open files” actually comes from the operating system —

Re: snmpd handles limit

2016-08-30 Thread Eduardo Bragatto
ca> wrote: > > Hi, > > I'm using snmpd as a proxy to handle all my devices polling from a restricted > environment to the production environment. Something like 1400 devices. And > I found that I can set up up to 1010 devices without any problem. But as soon > as I en

snmpd handles limit

2016-08-30 Thread Tardif, Christian
Hi, I'm using snmpd as a proxy to handle all my devices polling from a restricted environment to the production environment. Something like 1400 devices. And I found that I can set up up to 1010 devices without any problem. But as soon as I enter more devices, the daemon does not start anymore

Re: Customize snmpd to monitr an 8 ports switch

2016-06-05 Thread Zvi Vered
Hi Fredrik, All, The Centos is running on the switch. It should run snmpd. The snmpd should be customized in order to manage and monitor 8 ports of the switch. If I query ifSpeed (for example) I'm getting 4 values. What should I change in order to get 8 values ? Thank you, Z.V -Original

Re: Fwd: Customize snmpd to monitr an 8 ports switch

2016-06-04 Thread Fredrik Björk
hank you, > Z.V > > > -- Forwarded message -- > From: Zvi Vered <vered...@gmail.com> > Date: Fri, Jun 3, 2016 at 12:32 AM > Subject: Customize snmpd to monitr an 8 ports switch > To: net-snmp-users@lists.sourceforge.net > > > Hello, > > I compile

Fwd: Customize snmpd to monitr an 8 ports switch

2016-06-04 Thread Zvi Vered
Hello, Should I modify IF-MIB.txt for this purpose ? How ? Thank you, Z.V -- Forwarded message -- From: Zvi Vered <vered...@gmail.com> Date: Fri, Jun 3, 2016 at 12:32 AM Subject: Customize snmpd to monitr an 8 ports switch To: net-snmp-users@lists.sourceforge.net Hel

Compile snmpd from source

2016-06-03 Thread Zvi Vered
Hello, Under Centos 6.4 I installed snmpd. It runs from /usr/sbin Then I installed the sources (in my case net-snmp 5.5) and installed them with: ./configure make make install The snmpd binary was installed in /usr/local Running: "service snmpd restart" running the original /usr/snm

Customize snmpd to monitr an 8 ports switch

2016-06-02 Thread Zvi Vered
Hello, I compiled net-snmp for Centos 6.4 and ran MIB browser. I noticed that only 4 ports are monitored. For example, upon request for ifSpeed, I got 4 values. How can I customize snmpd to support 8 ports ? Thank you, Z.V

RE: net-snmp 5.4.1 on Solaris 11: snmpd becomes non-responsive

2016-04-25 Thread Touchstone Shannon
It appears that there is an issue if the number of TCP connections is greater than 1000 as is the case on our server. # netstat -an | grep ESTABLISHED | wc -l 1907 As suggested by Oracle, I appended the following options for snmpd to disable the TCP MIB at runtime and avoid querying

net-snmp 5.4.1 on Solaris 11: snmpd becomes non-responsive

2016-04-22 Thread Touchstone Shannon
After enabling the net-snmp service, snmpd will run for a short period and then become non-responsive. snmpwalk times out. The following message repeats over and over in the log: verbose:access:tcpconn:entry: create Any ideas? Best regards, Shannon

Persistence of Disk index in snmpd

2016-01-22 Thread Rudi Daemen
Hi, I have been using snmpd to monitor disk activity on my storage machine (Debian 8, running mdadm raid6), for this, I've been using the "DiskIODevice" and "hrStorage" trees. This has been working like a charm except for one issue: The disk device index appears to change ev

Antw: Persistence of Disk index in snmpd

2016-01-22 Thread Ulrich Windl
>>> Rudi Daemen <flud...@gmail.com> schrieb am 22.01.2016 um 11:10 in Nachricht <camuee3xtqk4tt109xtegtv5wrythpcfcpwghynabb9fjw6y...@mail.gmail.com>: > Hi, > > I have been using snmpd to monitor disk activity on my storage machine > (Debian 8, running mdadm

Re: snmpd 5.7.3 under FreeBSD 10.2 does not reply to SNMP requests

2015-10-20 Thread Martin T
Hi, for some reason I thought that bsnmpd configuration file is compatible with Net-SNMP snmpd. While the Net-SNMP snmpd did not complain about configuration file syntax(even if I started it with "snmpd -DALL -f -C -c /etc/snmpd.config"), then it did not reply to SNMP requests. regar

snmpd 5.7.3 under FreeBSD 10.2 does not reply to SNMP requests

2015-10-19 Thread Martin T
Hi, I compiled Net-SNMP snmpd version 5.7.3 under FreeBSD 10.2. When I start the snmpd with "snmpd -f -C -c /etc/snmpd.config" command, then it listens on UDP port 161: root@FreeBSD10:~ # sockstat -4l USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root

snmpd Duplicate IPv4 address detected

2015-08-20 Thread kojot
Hi, I have problem when starting snmpd deamon on debian. My snmpd version 5.7.2.1+dfsg-1. After starting snmpd daemon snmpd uses 96% of cpu all the time. I can't snmpwalk server. In logs i see: snmpd[5087]: Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB snmpd

RE: Snmpd blind scan on different subnet

2015-07-30 Thread Jurkiewicz Jean-Marc
Is IP connectivity insured between the subnets ( can you ping the moved computer from the SNMP-querying one ?) Firewalls ??? Etc etc Best regards JM De : Tien To Tran [mailto:totrant...@gmail.com] Envoyé : jeudi, 30. juillet 2015 13:04 À : net-snmp-users@lists.sourceforge.net Objet : Snmpd

Re: Snmpd blind scan on different subnet

2015-07-30 Thread Tien To Tran
Hi, I can ping the moved computer and firewall is off. Rgs Tien -- ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to

Re: Snmpd blind scan on different subnet

2015-07-30 Thread Tien To Tran
More information, I can query the moved computer directly like this: snmpwalk -v 1 -c public 192.168.1.4 sysUpTime And have this result: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (528183) 1:28:01.83 But still can't discover the machine via snmpwalk -v 1 -c public localhost ip

  1   2   3   4   5   6   7   8   9   10   >