Tools for converting V3 to V1 traps or vice versa.

2024-11-12 Thread Suresh
Hi all I have the below requirement Supporiting SNMP V3 veriosn on device. Where we SNMP V1 agent already written in C++ code working fine , so we are planning to use Net-snmp for V3 support. I know that net-snmp will support using AgentX, but how will I configure this? 2. Second, if any Net-snm

Re: Issue with SNMP Traps

2024-07-05 Thread Shripad Rayewar
98A, Precision House, 8668674490 Hadapsar MIDC, Hadapsar, Pune 411013. On Fri, 28 Jun 2024 at 17:53, Shripad Rayewar < shripad.raye...@nesecuretel.net> wrote: > Hi All, > Im Compiling Net-snmp for Openwrt Router. > But Seems I'm not able to get traps working. > Attached is the

Issue with SNMP Traps

2024-06-28 Thread Shripad Rayewar
Hi All, Im Compiling Net-snmp for Openwrt Router. But Seems I'm not able to get traps working. Attached is the Makefile and configuration I'm using to compile. Please Help me figure this out. *Be

Replay traps received from snmptrapd

2022-07-19 Thread Matt Hughes
I'm looking to capture/log traps on one machine via snmptrapd and then "replay" them back at a later time with snmptrap with a little help. I run snmptrapd -f -Lod -n -OnqX on the capture machine. And then I try to take one of those lines and run the parameters into snmptrap. How

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

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-04 Thread Janne Paalijarvi
Ok gentlemen, finally. I will not spam the MIB file here. I hope it retains itself at these locations: https://gist.github.com/usvi/82c85be18c9014a49d2d108525cb9658 or https://gist.githubusercontent.com/usvi/82c85be18c9014a49d2d108525cb9658/raw/fbfaf260260cf96edebd00b9d2034a51ff91fa4b/TemporaryR

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-03 Thread Janne Paalijarvi
Bill and Ed, thank you already, I'm a bit more confident to proceed. Ed's comment made me think things a bit forward and play around with different scenarios. I will try to demonstrate what I'm trying to achieve after I can pass my example MIB file through smilint flawlessly. It is harder than ant

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-02 Thread Ed Fair
Janne, Please provide more detail, or perhaps an example of your proposed traps. I read your question differently from Bill. On Thu, Dec 2, 2021 at 1:17 PM Bill Fenner wrote: > On Wed, Dec 1, 2021 at 7:44 AM Janne Paalijarvi > wrote: > >> Is it considered ok to put sequence

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-02 Thread Bill Fenner
On Wed, Dec 1, 2021 at 7:44 AM Janne Paalijarvi wrote: > Is it considered ok to put sequence OID elements to trap contents? > If I understand the question right, you're asking about including objects belonging to a table? Many trap definitions do this; when constructing the trap, you have to be

Would it be ok practice to put sequence OID elements to traps?

2021-12-01 Thread Janne Paalijarvi
Hello again, I have been tasked in implementing a trap sender for a product, and naturally I'm using what Net-SNMP has to offer. I want to do things right both syntactically and also in terms of good practices. So my question is: Is it considered ok to put sequence OID elements to trap contents?

Re: How to support SNMPv2 mib traps per VRF.

2021-10-28 Thread Bill Fenner
> *To:* net-snmp-cod...@lists.sourceforge.net; > net-snmp-users@lists.sourceforge.net > *Subject:* How to support SNMPv2 mib traps per VRF. > > Hi , > > > We are supporting Multiple snmp servers (snmp server for each VRF).I want > to enable authenticationfailure traps for each VR

snmptrapd: Traps from appliance not being logged

2021-07-07 Thread Adeline Whipple
Hello there, I have a CentOS 7 host with the CentOS 7 RPM 'net-snmp-5.7.2-49.el7.x86_64' installed. I have snmptrapd running on this host, listening on 162/udp, and receiving traps from various other hosts successfully. These traps are logged through syslog (using 'authCommun

RE: Problem with SNMPv3 traps with authentication

2021-04-08 Thread Michał Tarczyński
I have found that there is a problem with msgAuthoritativeEngineBoot and msgAuthoritativeEngineTime parameters. The LogFactory was very helpful. Thanks all for help, Michael ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please s

RE: Problem with SNMPv3 traps with authentication

2021-03-31 Thread Atkins, Brian
snmp-users@lists.sourceforge.net Subject: RE: Problem with SNMPv3 traps with authentication NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Frank, I think it’s not a problem with engine

RE: Problem with SNMPv3 traps with authentication

2021-03-31 Thread Michał Tarczyński
Hi Brian, The engine ID is set in the USM on Java appliaction and in the Wireshark it looks like it is correct and the snmptrapd daemon receives authPriv traps (with defined engine ID) from Java app correctly. I will try to use snmp4j logging to detect the error. Best regards, Michael

RE: Problem with SNMPv3 traps with authentication

2021-03-30 Thread Michał Tarczyński
regards, Michael From: Frank Fock Sent: Wednesday, March 31, 2021 12:15 AM To: Michał Tarczyński Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Problem with SNMPv3 traps with authentication Hi Michael, I guess you need to check your SNMPv3 engine ID configuration (i.e. use unique

Re: Problem with SNMPv3 traps with authentication

2021-03-30 Thread Frank Fock
notification receiver, you need to add the USM auth(No)Priv user with the engine ID of the snmptrap entity to the USM of the SNMP4J notification receiver. This is required, because for SNMPv3 traps/notifications, the notification sender is authoritative. Hope this helps. Best regards, Frank >

Re: Problem with SNMPv3 traps with authentication

2021-03-30 Thread Wes Hardaker via Net-snmp-users
Michał Tarczyński writes: > I have a problem with receiving SNMPv3 authPriv traps on my own Java > trap receiver. So I don't *know* what your particular problem might be; but I can recommend a few things to look at: 1) try INFORMs instead of TRAPs and see if you get more interest

Problem with SNMPv3 traps with authentication

2021-03-30 Thread Michał Tarczyński
Hello, I have a problem with receiving SNMPv3 authPriv traps on my own Java trap receiver. When using snmptrap command on the Linux terminal with authPriv option then the trap is never received on my Java trap receiver regardless of which authentication is used: MD5, SHA or SHA-256. Only if

Duplicate traps from non-main thread in AgentX sub-agent

2020-08-30 Thread John Bize
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

Re: Double traps sent via agentx

2020-07-17 Thread John Bize
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

Double traps sent via agentx

2020-07-07 Thread John Bize
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

Linux process monitoring traps not being sent

2020-07-02 Thread Anthony Gibson
the snmpd service, as per documentation, sends an shutdown trap followed by coldStart trap, again perfect Not ony do I see the traps in the NMS, I see them in Wireshark on the Linux server, even better. Here is the snmpd.conf file, removed all the comments to make it smaller for the mail

problem in getting snmp traps

2019-12-05 Thread Fatemeh Mehdizadeh
I'm on Freebsd 12. I installed NET-SNMP version 5.7.3 on my FRR router. The problem is in sending traps from router. For example the link up/down does not sending trap. The config files are: *snmpd.conf* *view V included .1view V included .1.3.6.1.2.1.1view V inc

Fwd: sending traps and perl plugin

2019-10-10 Thread Александр Малюков
Good day! I use snmpd with perl plugin. Plugin code - http://paste.debian.net/1105734 snmpd config - http://paste.debian.net/1105733 snmpwalk works fine. But i try to add monitor (sending traps) feature. and add monitor section: monitor -S -I -r 20 toHot 1.3.6.1.4.1.9.2.1.1 > 15

RE: nsNotifyRestart traps

2019-09-03 Thread Krishna Vivek Vitta
:14 To: Bill Fenner Cc: net-snmp-users@lists.sourceforge.net Subject: RE: nsNotifyRestart traps Hello Bill Thank you for inputs. Isn’t snmpd.log rotated on receiving the HUP signal ? How can we check “logrotate” is running on server ? It’s a free bsd box and would output of any command provide

RE: nsNotifyRestart traps

2019-08-28 Thread Krishna Vivek Vitta
From: Bill Fenner Sent: 27 August 2019 21:04 To: Krishna Vivek Vitta Cc: net-snmp-users@lists.sourceforge.net Subject: Re: nsNotifyRestart traps On Tue, Aug 27, 2019 at 2:54 AM Krishna Vivek Vitta mailto:krishna.vivekvi...@citrix.com>> wrote: Hello experts, We have a management server r

Re: nsNotifyRestart traps

2019-08-27 Thread Bill Fenner
On Tue, Aug 27, 2019 at 2:54 AM Krishna Vivek Vitta < krishna.vivekvi...@citrix.com> wrote: > Hello experts, > > > > We have a management server running snmpd where it is sending > nsNotifyRestart traps. The frequency is once per day during same time. > > May I know

nsNotifyRestart traps

2019-08-26 Thread Krishna Vivek Vitta
Hello experts, We have a management server running snmpd where it is sending nsNotifyRestart traps. The frequency is once per day during same time. May I know on what occasions this trap is raised and I don't get to see any logs in management server restarting agent(snmpd), though w

Re: How to specify the source address for sending traps

2019-07-26 Thread Bart Van Assche
.   I want to tell Net-SNMP on which interface to send traps. I look at the SNMPD configuration manpage (http://www.net-snmp.org/docs/man/snmpd.conf.html) and don’t see anything like it. The trap2sink directive only takes the target

How to specify the source address for sending traps

2019-07-26 Thread David Moriconi (dmoricon) via Net-snmp-users
Hi, I am using Net-SNMP 5.8 on CentOS 7 with AgentX enabled. My AgentX subagent is implemented using SNMP4J-AgentX. I want to tell Net-SNMP on which interface to send traps. I look at the SNMPD configuration manpage (http://www.net-snmp.org/docs/man/snmpd.conf.html) and don’t see anything like

Strange issue with SNMP traps

2019-04-16 Thread 700 grm
Hi, I run in the strange issue which I don't understand. version: net-snmp-5.7.2-37.el7.src.rpm I am able to send SNMP traps however if directive (1) createUser is present only (2) defaultMonitors and linkUpDownNotifications will be sent. When I remove this directive I am getting rema

Seeing duplicate authentication traps

2019-03-18 Thread Mostafa Kassem
Greetings, We are testing the authentication failure trap and trying to login with wrong credentials every second. However, for every login, we receive 2 traps. Any idea how to remedy this and only get one trap? Thanks, 12:21:15 (TRAP2, SNMP v3, user myRwUser, context ) TRAP 0.0 (Cold Start

RE: nsNotifyRestart traps generated in place of link up/down.

2019-02-11 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
ikes - HCL TECHNOLOGIES LIMITED at Cisco) ; Kondalraj Kosalram -X (kkosalra - HCL TECHNOLOGIES LIMITED at Cisco) Subject: nsNotifyRestart traps generated in place of link up/down. Hi Experts, In our product we are using Net-snmp 5.7.3 and today a customer is hitting a strange issue with some

Problem sending traps

2019-02-11 Thread Mostafa Kassem
_TRAP2, FALSE, SNMP_VERSION_3); return true; } However, we are getting this error: [SNMP 3] : snmpd: send_trap: USM unknown security name (no such user exists) What are we doing wrong? If we add this line to the snmpd.conf and not use the above-mentioned code, we have no problem send

nsNotifyRestart traps generated in place of link up/down.

2019-02-08 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, In our product we are using Net-snmp 5.7.3 and today a customer is hitting a strange issue with some undesired nsNotifyRestart traps being generated, in place of link up/down traps, when performed shut/noshut operations on selected intetrface. Here is the SNMP v1 config Used by

Does the Agent prioritizes traps and slow the Gets execution ? Is it agent configuration?

2018-11-12 Thread Rodrigo Pimenta Carvalho
Agent comes from the NET-SNMP. I can send SNMP Gets to the Agent and receive the answers in the Manager normally. Only AgentX is being used here. Whether I run a SNMP Walk, when the agent is undisturbed for a while, everything is ok too. However, when my device is generating too many traps (this is

Re: configure interface to send traps

2018-10-14 Thread Pushpa Thimmaiah
Thank you Bill Fenner. On Sat, Oct 13, 2018 at 8:29 PM Bill Fenner wrote: > On Thu, Oct 4, 2018 at 1:19 AM Pushpa Thimmaiah < > pushpa.thimma...@gmail.com> wrote: > >> Hi All, >> >> I have understood that option 'clientAddr' to provide source-IP

Re: configure interface to send traps

2018-10-13 Thread Bill Fenner
On Thu, Oct 4, 2018 at 1:19 AM Pushpa Thimmaiah wrote: > Hi All, > > I have understood that option 'clientAddr' to provide source-IP address > for outgoing traps. There is no option to provide source-interface to send > traps. > Kindly let me know reason for this r

configure interface to send traps

2018-10-03 Thread Pushpa Thimmaiah
Hi All, I have understood that option 'clientAddr' to provide source-IP address for outgoing traps. There is no option to provide source-interface to send traps. Kindly let me know reason for this restriction. Eg: I have one physical interface 'eth1' and vlans 'eth

Re: traps not getting sent

2018-08-29 Thread Pushpa Thimmaiah
gt; event i am sending below function after filling the var_list > send_v2trap( var_list ); > > snmpd.conf has > trap2sink127.0.0.1:162 > # send SNMPv2c INFORMs > informsink 127.0.0.1:162 > > > but my traps are not getting sent.

traps not getting sent

2018-08-23 Thread Nevadita Chatterjee
traps are not getting sent. No packets are seen in tcp dump also *Nevadita Chatterjee* -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm

Re: Duplicate Traps being sent from a Sub Agent: unhandled PDU in logs

2018-03-19 Thread Larry Hayes
nt using the net-snmp library. > This sub agent opens a web socket(uWs) to a web socket server and receives > events. > It takes the events and maps them to traps and calls the net-snmp library > functions > to forward the traps to snmpd, which forwards them out port 162. >

Duplicate Traps being sent from a Sub Agent: unhandled PDU in logs

2018-03-15 Thread Larry Hayes
OS: Linux Net-snmp version: 5.7.3 I have written a sub agent using the net-snmp library. This sub agent opens a web socket(uWs) to a web socket server and receives events. It takes the events and maps them to traps and calls the net-snmp library functions to forward the traps to snmpd, which

Re: snmptrapd unable to receive v2 traps

2018-01-18 Thread jayshankar nair
Hi, Below setup is working fine. I have done iptables setup. Hence packets were not redirected to port 162. Thanks, Jayshankar On Fri, Jan 19, 2018 at 11:10 AM, jayshankar nair wrote: > Hi, > snmptrapd is unable to receive v2 traps. My configuration are as below. > >

snmptrapd unable to receive v2 traps

2018-01-18 Thread jayshankar nair
Hi, snmptrapd is unable to receive v2 traps. My configuration are as below. more /tmp/snmptrapd.conf authCommunity log,execute,net public. Then i run snmptrapd ./snmptrapd -f -C -c /tmp/snmptrapd.conf -Le -d NET-SNMP version 5.7.1. Then i sent v2 traps from another terminal. But snmptrapd

Re: snmp v3 traps

2018-01-18 Thread jayshankar nair
Hi , I have one more question regarding the snmptrapd configuration. Can snmptrapd decrypt the trap and then forward it in v2 format to another port. Or does it forward in encrypted format to another port. To forward the received traps to a different port on the same host: /etc/snmp

When are traps triggered?

2018-01-09 Thread Cody Eilrich
I'm trying to get an SNMP monitor set up referencing the page here: http://www.net-snmp.org/wiki/index.php/TUT:DisMan_Monitoring I see a trap when the threshold is breached but I never get a follow up trap when the triggering condition no longer holds. Should that be expected? From this statement

Re: snmp v3 traps

2018-01-04 Thread jayshankar nair
Hi, As per the discussion, i made the changes to snmptrapd.conf. Now i am to receive snmp v3 traps. I am working on a C trapreceiver code which is able to receive v1, v2 traps. Currently i am not able to receive v3 traps. I was wondering what all changes need to be done on C code to make it

Re: snmp v3 traps

2018-01-03 Thread Bill Fenner
t; On Tue, Jan 2, 2018 at 3:44 AM, jayshankar nair < >> jayshankar.n...@gmail.com> wrote: >> >>> Hi, >>> >>> I am not receiving any snmp v3 traps while running snmptrapd daemon. >>> >>> snmptrapd -f -C -c /tmp/snmptrapd.conf -Le >>&g

Re: snmp v3 traps

2018-01-03 Thread jayshankar nair
configured. This receiver will *NOT* accept any incoming notifications. Thanks, Jayshankar On Wed, Jan 3, 2018 at 2:26 AM, Bill Fenner wrote: > On Tue, Jan 2, 2018 at 3:44 AM, jayshankar nair > wrote: > >> Hi, >> >> I am not receiving any snmp v3 traps whil

Re: snmp v3 traps

2018-01-02 Thread Bill Fenner
On Tue, Jan 2, 2018 at 3:44 AM, jayshankar nair wrote: > Hi, > > I am not receiving any snmp v3 traps while running snmptrapd daemon. > > snmptrapd -f -C -c /tmp/snmptrapd.conf -Le > Warning: no access control information configured. > (Config search path: /usr/local/e

snmp v3 traps

2018-01-02 Thread jayshankar nair
Hi, I am not receiving any snmp v3 traps while running snmptrapd daemon. snmptrapd -f -C -c /tmp/snmptrapd.conf -Le Warning: no access control information configured. (Config search path: /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp) This receiver will *NOT

Re: Processing traps in a real-time system

2017-08-22 Thread Wes Hardaker via Net-snmp-users
Joan Ametller Esquerra writes: > 1. Write a simple trap receiver by my own. The drawback is that >looking at the code of snmptrapd I see a lot of library >initializations I do not know about and I am not sure I have enough >documentation to do it properly. The right thing to do is im

Processing traps in a real-time system

2017-07-21 Thread Joan Ametller Esquerra
Hello, I was trying to use snmptrapd in a real time system where the processing of traps should be deterministic in terms of time. Therefore, for me it is not an option to use the exec directrive since it implies the loading of a binary and the overhead of its execution for each trap (which is

DTLS over SNMP sender IP unknown in traps

2017-07-12 Thread Kevin Grygosch
Hello again,   just another short question regarding SNMP over DTLS!   I am using the NetSNMP::TrapReceiver for decoding incoming traps and to basically send them into a MessageQueue for further processing in another program.   I used the tutorial at http://search.cpan.org/~hardaker/NetSNMP

Re: Unwanted Traps being sent out

2017-06-22 Thread Siddhant Gupta
Its not the coldstart/shutdown traps that are causing a problem but the linkUpDown traps. linkUpDown traps are sent out for all the ports 2 minutes after the coldstart. I have enabled linkUpDown by adding linkUpDownNotification yes in the snmpd.conf file On Thu, Jun 22, 2017 at 11:13 AM Pushpa

Re: Unwanted Traps being sent out

2017-06-21 Thread Pushpa Thimmaiah
Hi, Startup(coldstart/shutdown) are default traps from snmpDaemon (start/stop) When snmpDaemon start/stop , it sends out coldstart/shutdown traps and they are builtin. There is no option to disable them, You have to comment code which sending stratup traps in net-snmp source code. How did

Unwanted Traps being sent out

2017-06-20 Thread Siddhant Gupta
I am writing an application for a switch that uses net-snmp. I wrote my version of ifTable_data_access.c. Whenever I restart or start net-snmp a cold-start trap is sent out followed by link up/down traps for all the ports. Why is this happening? I have enabled traps for Physical sensors also

snmptrapd processing traps from only one agent

2017-05-17 Thread Vinayagar Karpagam
Hi all, I’m facing an issue with the snmptrapd (in RHEL 7), in which the traps sent from only one of the agents is being logged/processed by snmptrapd. I’m using snmp v5.7.2 and using snmptrapgen.exe to generate the test trap. I’m using the exact command to generate the test trap in both the

Re: [net-snmp] How to log traps using snmptrad daemon

2017-01-27 Thread Chris Fowler
I'm using vs 5.6.1. The struggle for me debugging SNMPv3 traps to snmptrapd was that snmptrapd wouid simply ignore v3 traps if the authentication was wrong. This is fine and expected. It would not even behave as if it had seen anything an log it. with tcpudmp I saw that I was receivin

Re: [net-snmp] How to log traps using snmptrad daemon

2017-01-27 Thread Ruth Garzón
perly. For that in snmp.conf: dumpPacket true doDebugging 1 I found out the error was with the User not being properly registered and found the missing part. So in my snmptrapd.conf the correct line should look like this (with same EngineID as the device sending the traps) createUser -e x

[net-snmp] How to log traps using snmptrad daemon

2017-01-20 Thread Ruth Garzón
Hi! First I have to say I have no experience with SNMP traps at all, but I need to have some trap service receiving traps from a device and logging them into our systems so we can monitor the device. I have the following installed: - Windows server 2012 R2 Standard - I downloaded this package

send_enterprise_trap_vars sends traps twice

2016-11-08 Thread Srinisha Ramaswamy
Hi, I am using send_enterprise_trap_vars in net-snmp 5.7.2.1. I am running into the problem of all traps sent using send_enterprise_trap_vars are sent twice. Though the coldstart and nsNotifyShutdown traps are sent only once. This happens even when there is only one trapsess was present

Can I send SNMPv3 traps with an SNMPv2-SMI MIB?

2016-10-06 Thread Sumit Mhatre
for sending SNMP traps using version SNMPv3? Or do I need separate MIB for v3 request? Regards, Sumit -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org!

snmptrapd configuration - sending inform traps

2016-10-06 Thread Diego Alfredo Flores
HI Guys, Im doing my experience with snmptrapd I need to receive and send traps. I receive traps v1,v2 and I want to send inform traps So , I m tryintg to find the good config of snmptrapd to do that This is my config more ./etc/snmp/snmptrapd.conf disableAuthorization yes authCommunity log

snmptrapd should accept all traps

2016-09-07 Thread Paul Jaehne
engineID created from their MAC, so all engineIDs are different. *My problem:* With the old version I could receive all traps, no matter of the engineID. With the new version of the snmptrapd, they are not accepted any more as described in man snmptrapd.conf "*Previously, snmptrapd would accep

Trying to receive snmpv3 traps in my c++ application

2016-08-29 Thread Jaspal Kaur
Hi All, I'm trying to add the support to receive snmpv3 traps in my c++ application code(which is using net-snmp library). I'm not using snmptrapd. As of now its able to receive SNMPv2 traps and I'm able to process them. But when I am sending v3 traps to my applicatio

RE: IPv6 and snmptrapd not processing traps

2016-04-15 Thread Gorman, Kevin
: IPv6 and snmptrapd not processing traps I've been working with Kevin on this issue and I have more detailed information. I've been testing IPv6 traps and I am confused about how the trap is being received and processed, compared to IPv4 traps (I suspect there is a bug). Here is an ipv4 t

RE: IPv6 and snmptrapd not processing traps

2016-04-15 Thread Troy Lea
I've been working with Kevin on this issue and I have more detailed information. I've been testing IPv6 traps and I am confused about how the trap is being received and processed, compared to IPv4 traps (I suspect there is a bug). Here is an ipv4 trap that was spooled to /var/sp

RE: IPv6 and snmptrapd not processing traps

2016-04-14 Thread Gorman, Kevin
Hi, This was resolved by updating /etc/sysconfig/snmptrapd. I had it set as follows: OPTIONS="-a -A -Lf /var/log/snmptrapd.log -p /var/run/snmptrapd.pid udp:162,udp6:162" The comma toward the end is the problem. Apparently, the comma is correct if this is defined in snmptrapd.conf, but not on t

IPv6 and snmptrapd not processing traps

2016-04-07 Thread Gorman, Kevin
It looks like I got the syntax right a while back and its listening, but not processing the traps... Any ideas on why? I've used udp6:162, and udp6[address]:162 w/ the same result. Nothing. This is a RHEL 6.6 box. IPv4 traps on another NIC are processed. Debug output didn't show any

How to forward the received traps to a different port on the same host

2016-03-19 Thread andrewarnier
I am currently attempting to configure snmptrapd to do trap forwarding.With my current configuration, snmptrapd is receiving and logging incoming traps, but it it does not appear to be forwarding them to a different port on the same host. The contents of my snmptrapd.conf file are as follows

Re: SNMP traps from client to master fails

2016-02-13 Thread Pranesh Kulkarni
I think you have missed the line in client 1 /etc/snmp/snmd.conf trap2sink SERVER_IPDDR public OR firewall on server for port 162 On Fri, Feb 12, 2016 at 7:08 PM, Aslam Abbas wrote: > Hi All, > > I am trying to setup SNMP monitoring in my network. > > SERVER : 10.21.8.109CONFIG:

SNMP traps from client to master fails

2016-02-12 Thread Aslam Abbas
Hi All, I am trying to setup SNMP monitoring in my network. SERVER : 10.21.8.109CONFIG: https://public.etherpad-mozilla.org/p/8uMjWUZsfl CLIENT1 : 10.21.10.10 CONFIG: https://public.etherpad-mozilla.org/p/YGeUhOROoV CLIENT2 : 10.21.10.11 CONFIG: (same as CLIENT1

traps to target with link-local address

2016-01-07 Thread Pushpa Thimmaiah
link-local address while sending traps and informs from agent eg: snmptrap -t 100 -v 3 -n "" -a MD5 -A mypassword -l authNoPriv -u test222* '*udp6:[fe80::a617:31ff:febe:a577*%eth1*]:162' 69 .1.3.6.1.4.8072.2.3.1 .1.3.6.1.4.1.8072.2.1.1 i 55 here, fe80::a617:31ff:febe:a577 is trap

Re: Forward SNMPv3 traps from snmptrapd to snmpc

2015-10-05 Thread Pranesh Kulkarni
instead of 127.0.0.1 give actual IP address On Thu, Sep 3, 2015 at 12:11 PM, Sanjay Singh wrote: > How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock > Manager) Both are running on the same machine (Windows 7) > > My entry for snmptrapd.conf is: > > au

Re: Forward SNMPv3 traps from snmptrapd to snmpc

2015-10-05 Thread Pushpa Thimmaiah
like 'forward default localhost:portnumber' > Eg: forward default 127.0.0.1:4477 > > > > On Thu, Sep 3, 2015 at 12:11 PM, Sanjay Singh > wrote: > >> How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock >> Manager) Both are running on the same machine

Re: Forward SNMPv3 traps from snmptrapd to snmpc

2015-10-05 Thread Pushpa Thimmaiah
Hi Sanjay Singh, Try with adding port number like 'forward default localhost:portnumber' Eg: forward default 127.0.0.1:4477 On Thu, Sep 3, 2015 at 12:11 PM, Sanjay Singh wrote: > How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock > Manager) Both are run

RE: How to configure net-snmp for mysql logging to log received traps

2015-09-08 Thread Ricardo Resina
de 2015 11:19 Para: 'Stuart Henderson' ; 'net-snmp-users@lists.sourceforge.net' Asunto: RE: How to configure net-snmp for mysql logging to log received traps Hello Stuart. I’ve tried it yet, and it doesn’t work if you don’t have compiled net-snmp tools with the --my-sql-sup

RE: How to configure net-snmp for mysql logging to log received traps

2015-09-08 Thread Ricardo Resina
to:ricardo.res...@tuyu.es] Enviado el: martes, 8 de septiembre de 2015 11:16 Para: 'Mallikharjun Lanke' ; 'net-snmp-users@lists.sourceforge.net' Asunto: RE: How to configure net-snmp for mysql logging to log received traps Hello Mallikharjun. I've tried it yet,

RE: How to configure net-snmp for mysql logging to log received traps

2015-09-08 Thread Ricardo Resina
Hello Stuart. I’ve tried it yet, and it doesn’t work if you don’t have compiled net-snmp tools with the --my-sql-support option. The precompiled 5.5 version that I’m using so far, is not compiled with this option, so I can’t get the traps in a mysql database even if I configure it. My question

RE: How to configure net-snmp for mysql logging to log received traps

2015-09-08 Thread Ricardo Resina
Hello Mallikharjun. I've tried it yet, and it doesn't work if you don't have compiled net-snmp tools with the --my-sql-support option. The precompiled 5.5 version that I'm using so far, is not compiled with this option, so I can't get the traps in a mysql database e

Forward SNMPv3 traps from snmptrapd to snmpc

2015-09-02 Thread Sanjay Singh
How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock Manager) Both are running on the same machine (Windows 7) My entry for snmptrapd.conf is: authUser log,execute,net myuser forward default 127.0.0.1 I am sending the trap like: snmptrap -Ddumph_send,dumpv_send,usm -v 3 -e

Re: How to configure net-snmp for mysql logging to log received traps

2015-09-01 Thread Stuart Henderson
ME format. > --=_alternative 0032E36B48257EAF_= > Content-Type: text/plain; charset="US-ASCII" > > Hi > > How to configure net-snmp for mysql logging to log received traps Did you follow http://www.net-snmp

How to configure net-snmp for mysql logging to log received traps

2015-08-31 Thread Mallikharjun Lanke
Hi How to configure net-snmp for mysql logging to log received traps my snmptrapd.conf ### # maximum number of traps to queue before forced flush # set to 1 to immediately write to the database sqlMaxQueue 140 # seconds between periodic queue flushes sqlSaveInterval 9

Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Ajit Ambekar
Hi Robert, I used init_snmp("snmptrapd") and gave the engineIDs in this file of those devices which are send me the traps. This is working for me. But the problem is, first I need to manually enter the engineID for every new device in the config file (snmptrapd.conf) I wi

Re: Snmp v3 traps not recieved by application

2015-07-15 Thread Robert Story
On Fri, 29 May 2015 16:14:17 +0530 Ajit wrote: AA> I have a application in C which receives snmp traps. There is a AA> issue with v3 traps. Although I have done the necessary setup. AA> I am able to receive v3 traps using the command "snmptrapd -Lo AA> -n -f". But when I r

Re: Could not receive traps

2015-06-30 Thread Pranesh Kulkarni
Hi Ganesh If you were able to receive traps on same machine then Pls check 1) is manager is able to ping agent 2) if yes , check also any firewall between manager and agent. On Tue, Jun 30, 2015 at 4:47 PM, wrote: > Hi, > > I am using net-snmp-5.7.2. > > My agent is runnin

Could not receive traps

2015-06-30 Thread ganeshyellapu
Hi, I am using net-snmp-5.7.2. My agent is running on windows xp� with ip 201.123.81.75 with snmpd.conf containg the below� information: � rocommunity� public rwcommunity� private� � trapsink� 201.123.80.112�� public�� trap2sink� 201.123.80.112�� private My manager is running on wino

Snmp v3 traps not recieved by application

2015-05-29 Thread Ajit Ambekar
Hello, I have a application in C which receives snmp traps. There is a issue with v3 traps. Although I have done the necessary setup. I am able to receive v3 traps using the command "snmptrapd -Lo -n -f". But when I run my application , no traps are received. The reason may b

How to configure sending traps

2015-04-20 Thread James McGuire
.. Monitoring<http://www.net-snmp.org/wiki/index.php/TUT:DisMan_Monitoring> But although there is a subsection on disk montioring, there is no related content to explain how to do this! Eventually I need to get traps working for: · memory utilisation (send trap when memory uti

Re: Forwarding traps to non default port

2015-01-27 Thread Anders Eriksson J
On 2015-01-22 16:37, Anders Eriksson J wrote: > Hi, need some help. > > Trying to forward traps to a non default port. > My snmptrapd.conf: > authCommunity log,net public > forward default udp:10.1.1.11:28380 public > > I run (my agent sends to 28380): > snmptrapd -

RE: SNMP traps and unknown log file

2015-01-27 Thread Jurkiewicz Jean-Marc
Hi, I can only share my experience on Fedora 20 where the trap daemon replaces the very first « .1 » by iso, So I had to: JmonTH.pl: ### Fedora20 trap daemon sends the traps in the form : iso.3.6.1.6.3.1.1.4.1.0 JmonTH.pl: ### Substitute Starting iso by 1 JmonTH.pl: $line =~s/iso\./\.1\./g

RE: SNMP traps and unknown log file

2015-01-26 Thread Brian Kejser
enerated. EDESC From: Aly Khimji [mailto:aly.khi...@gmail.com] Sent: Monday, January 26, 2015 12:16 PM To: net-snmp-users@lists.sourceforge.net Subject: Re: SNMP traps and unknown log file Hey, Can you show the contents of your snmptt.conf file? From my experience I have found that anyth

Re: SNMP traps and unknown log file

2015-01-26 Thread Aly Khimji
; > > date_time_format = %H:%M:%S %Y/%m/%d > > log_system_enable = 1 > > unknown_trap_log_enable = 1 > > > > *When a trap is received, it ends up in the unknown trap log file. I am > able to use snmptranslate to translate the MIBs in the unknown trap log > fil

SNMP traps and unknown log file

2015-01-26 Thread Brian Kejser
ends up in the unknown trap log file. I am able to use snmptranslate to translate the MIBs in the unknown trap log file. Why are all SNMP traps being treated as unknown when snmptranslate can translate them? Thanks --

Forwarding traps to non default port

2015-01-22 Thread Anders Eriksson J
Hi, need some help. Trying to forward traps to a non default port. My snmptrapd.conf: authCommunity log,net public forward default udp:10.1.1.11:28380 public I run (my agent sends to 28380): snmptrapd -f -Lo udp:10.50.24.47:28380 But no traps are forwarded (nothing on my listener on 10.1.1.11

Re: msgAuthoritativeEngineBoots is Zero in SNMPv3 traps

2015-01-16 Thread Pushpa Thimmaiah
(according to snmp persistent file >> /var/lib/snmp/snmpd.conf) >> 2) Sending SNMPv3 traps to NMS using command 'snmptrap' >> > > 'snmptrap' is independent of the agent, it's sim

Disman traps not sent when in daemon mode

2015-01-16 Thread Sunqiguo
I've found the same problem like following issue, when snmpd process run in foreground it can send disman traps, but when snmpd run with -p flag it can not send disman traps: http://sourceforge.net/p/net-snmp/bugs/2455/ Thanks in advance for any help, Iusse 2455: I've found an

  1   2   3   4   5   6   7   8   9   10   >