Re: snmptrapd queue+retry

2021-05-06 Thread Wes Hardaker via Net-snmp-coders
Feroz writes: > I tried as follows,  serverRecvBuf and  serverSendBuf worked, but > timeout/retries didn't work. > > [snmp] timeout 10 > [snmp] retries 60 So if you're forwarding via traps, timeouts and retries make no sense since they're not acknowledged by the remote server. There is no

Re: snmptrapd queue+retry

2021-05-05 Thread Feroz
you need, put them inside the snmptrapd.conf file with > a [snmp] tag before them: > > [snmp] > serverRecvBuf ... > serverSendBuf ... > > [snmptrapd] > # rest of file > -- > Wes Hardaker > Please mail all replies to net-snmp-coders@lists.sourceforge.net > -- Regard

Re: snmptrapd queue+retry

2021-04-29 Thread Wes Hardaker via Net-snmp-coders
g before them: [snmp] serverRecvBuf ... serverSendBuf ... [snmptrapd] # rest of file -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

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

snmptrapd core-dump while forwarding V3 INFORM's

2020-12-07 Thread Feroz
Hi, Im using net-snmp 5.7.2. I want to forward V3 INFORM's from VM1 to VM2. snmptrapd crashed while forwarding V3 INFORM. For my user case I have to run snmptrapd on both VM1 and VM2. VM1 will receive INFORM/TRAP and forward it to VM2. >From VM1 when I send link-up INFORM to localh

snmptrapd

2020-08-09 Thread jayshankar nair
Hi, I am testing snmptrapd daemon. snmptrapd is not processing traps from certain ip address. I am receiving the traps in tcpdump. My linux release is Centos 7. I have disable the firewalld. iptables is also not running. Appreciate your help. Thanks, Jayshankar snmptrapd Logs: snmptrapd -c

Re: snmptrapd SNMP V3 support

2020-06-11 Thread Magnus Fromreide
On Wed, May 27, 2020 at 10:42:09AM +, Yefetluzzatto, Inbal wrote: > Hello, > > I currently use NET-SNMP Version: 5.7.2 which has limited SNMP V3 support. > I am trying to set up a manager that can use Authentication protocols - > SHA-256 and MD5 with Privacy protocols AES-256 and 3DES

Re: snmptrapd SNMP V3 support

2020-06-10 Thread Craig Small
On Thu, 11 Jun 2020 at 04:13, Yefetluzzatto, Inbal wrote: > ../include/net-snmp/library/snmpAAL5PVCDomain.h:18:17: fatal error: atm.h: > No such file or directory > atm.h is a system library header. In Debian, you would find this in libatm1-dev package which you would need to have installed for

snmptrapd SNMP V3 support

2020-06-10 Thread Yefetluzzatto, Inbal
Hello, I currently use NET-SNMP Version: 5.7.2 which has limited SNMP V3 support. I am trying to set up a manager that can use Authentication protocols - SHA-256 and MD5 with Privacy protocols AES-256 and 3DES (TDES). I was trying to install version 5.8 on my vd (running CentOS Linux 7),

Fwd: snmptrapd

2019-09-23 Thread jayshankar nair
> > Hi, >> >> I am using variant of snmptrapd. >> > > In what way is it a variant? > It using the same piece of code till snmp_input. The delay is observed in snmp_input, After which we process the pdu > > >> The snmptrapd is processing tr

Re: snmptrapd

2019-09-18 Thread Bill Fenner
On Wed, Sep 18, 2019 at 7:13 AM jayshankar nair wrote: > Hi, > > I am using variant of snmptrapd. > In what way is it a variant? > The snmptrapd is processing trap packet at 4min delay. Why so much delay??. > Does this delay happen with unmodified

snmptrapd

2019-09-18 Thread jayshankar nair
Hi, I am using variant of snmptrapd. The snmptrapd is processing trap packet at 4min delay. Why so much delay??. The delay is observed in function int snmp_input(int op, netsnmp_session *session, int reqid, netsnmp_pdu *pdu, void *magic) in snmptrapd_handlers.c. Its here i am

snmptrapd Time Out

2019-07-15 Thread jayshankar nair
Hi, I am running code similar to snmptrapd on linux server. Currently there are no traps receiving on the system. I am getting Time Out. Is it a valid behavior to timeout if there are no traps . while (netsnmp_running) { trapd_update_config(); numfds = 0

snmptrapd missing traps

2019-07-09 Thread jayshankar nair
Hi, I am facing some issues with snmptrapd. snmptrapd is missing some isis traps. If there are 4 isis traps in tcpdump at certain time. snmptrapd shows only 3 isis traps. This could be happening for other trap types too. How can i fix this issue. Thanks, Jayshankar

Re: snmptrapd

2019-02-13 Thread jayshankar nair
snmptrapd not receiving traps due to firewalld. Once the firewalld is stopped, i receive traps. On Wed, Feb 13, 2019 at 6:34 PM Anders Wallin wrote: > Start snmptrapd with debug traces. e.g. "-DALL -d -Lf /tmp/snmptrapd.log" > > Regards > Anders Wallin > > >

Re: snmptrapd

2019-02-13 Thread Anders Wallin
Start snmptrapd with debug traces. e.g. "-DALL -d -Lf /tmp/snmptrapd.log" Regards Anders Wallin On Wed, Feb 13, 2019 at 1:50 PM jayshankar nair wrote: > Hi, > > I am running snmptrapd on linux machine. I am sending trap from the same > machine. I am able to receive

snmptrapd

2019-02-13 Thread jayshankar nair
Hi, I am running snmptrapd on linux machine. I am sending trap from the same machine. I am able to receive trap on snmptrapd log and tcpdump logs. My snmptrapd conf file is as below. authCommunity log,execute,net public createUser -e 0x81020304 traptest SHA mypassword DES mypassword

#1320 add original sender IP (and forwarder IP) when forwarded by snmptrapd

2018-10-24 Thread jayshankar nair
Hi, snmptrapd daemon doesn't track the orginal sender ip on port forwarding. Th e patch https://sourceforge.net/p/net-snmp/patches/1320/ stores the sender ip at snmpTrapAddress.0. Currently the patch is released for 5.7.3. Will there be a patch for 5.8 or this code will be integrated in future

Re: snmptrapd

2018-10-12 Thread jayshankar nair
Hi Wes, I am able to setup snmpv3 options for snmptrapd daemon and able to receive snmpv2 and snmpv3 trap. I have a trapd code on similar lines of snmptrapd which is only v2 compliant. I want to make it v3 compliant. I need to know the flowchart of v3 code or knowledge of v3 api(netsnmp-internals

Re: snmptrapd

2018-10-12 Thread Wes Hardaker via Net-snmp-coders
jayshankar nair writes: > I was wondering in this code, how can i add snmpv3 credentials to > decrypt the v3 trap. You should start reading here: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net

snmptrapd

2018-10-04 Thread jayshankar nair
Hi, I am opening snmptrapd session with the below code netsnmp_session *sess_list = NULL, *ss = NULL; netsnmp_transport *transport = NULL; transport = netsnmp_transport_open_server("snmptrap", "udp:162"); ss = snmptrapd_add_session(transport); Currently i am able

snmptrapd users set by snmpusm

2018-09-10 Thread Josef Ridky
Hi, I would like to know, if is there any utility for create/modify/delete user for snmptrapd like there is snmpusm for snmpd. The only way how to create snmptrapd user is write proper command to /etc/snmp/snmptrapd.conf file and for removing snmptrapd user I have to remove proper line from

Re: Snmptrapd memory leak at log_notification

2017-08-02 Thread Jeffry Copps
the same project. Thanks, Jeffry copps jeffry On Sat, Jul 29, 2017 at 7:03 PM, Bill Fenner <fen...@gmail.com> wrote: > What version of net-snmp are you using? I looked at the code in 5.7.3 and > don't see how that leak could happen. > > If your version of snmptrapd accepts th

Re: Snmptrapd memory leak at log_notification

2017-07-29 Thread Bill Fenner
What version of net-snmp are you using? I looked at the code in 5.7.3 and don't see how that leak could happen. If your version of snmptrapd accepts the -X argument, try passing that to avoid calling this code path altogether. You could help debug futher by passing "-Dnetsnmp_sockad

Re: Snmptrapd memory leak at log_notification

2017-07-24 Thread Jeffry Copps
Fenner, I tried adding the doNotRetainNotificationLogs=yes. The following is what I got from DebugDiag, Could you help me here. Function details Function msvcr120!malloc+5b Source Line Allocation type Heap allocation(s) Heap handle 0x` Allocation Count 130354

Re: Snmptrapd memory leak at log_notification

2017-07-13 Thread Bill Fenner
Are you sure it is a memory leak, or is it simply the NOTIFICATION-LOG-MIB implementation? Does the memory usage still increase when you run with "--doNotRetainNotificationLogs=yes" or the equivalent in snmptrapd.conf? Bill On Tue, Jul 11, 2017 at 3:12 AM, Jeffry Copps

Re: Snmptrapd memory leak at log_notification

2017-07-11 Thread Jeffry Copps
tification will solve the problem. Let me check for regression and confirm. Thanks, Jeffry Copps, IN jeffry On Tue, Jul 11, 2017 at 1:31 PM, Josef Ridky <jri...@redhat.com> wrote: > Hi Jeffry, > > no one can tell you that snmptrapd is without any memory leaks. I

Re: Snmptrapd memory leak at log_notification

2017-07-11 Thread Josef Ridky
Hi Jeffry, no one can tell you that snmptrapd is without any memory leaks. I am sure, they are here, but it will be great to fix them. May I ask you for snmptrap command, which you used for this analysis? Or do you already have a patch for it? Regards Josef Ridky Associate Software Engineer

Snmptrapd memory leak at log_notification

2017-07-11 Thread Jeffry Copps
Hi NET-SNMP, I have recently starting working on SNMP Trapd daemon. And I was running a memory leak analysis on the application and came to know that there is a leak in the below call stack. Could someone help me here? Or have I understood it wrong? LeakTrack+20b07 msvcr120!malloc+5b memdup+53

Re: Change snmptrapd user

2016-11-28 Thread Robert Story
On Fri, 25 Nov 2016 08:00:30 -0500 (EST) Josef wrote: JR> Hi, is there some way how to edit snmptrapd user (change user's JR> password etc)? Something like snmpusm that is used for editing JR> snmpd users? You should be able to use snmpusm and specify -n snmptrapd to edit snmptrapd's

Change snmptrapd user

2016-11-25 Thread Josef Ridky
Hi, is there some way how to edit snmptrapd user (change user's password etc)? Something like snmpusm that is used for editing snmpd users? Thanks for answer Best regards Josef Ridky Associate Software Engineer Core Services Team Red Hat Czech, s.r.o

Re: snmptrapd

2015-12-03 Thread Tim Cox
Alizadeh You could monitor the network with tcpdump or wireshark to see if UDP traffic is arriving for port 162 BR Tim Am 17.11.2015 um 13:41 schrieb Alizadeh Mahmoud: > Hi > > Is there a way I could test the "snmptrapd" if it is reciveing tra

snmptrapd

2015-12-03 Thread Alizadeh Mahmoud
Hi Is there a way I could test the "snmptrapd" if it is reciveing traps? BR Maali -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XD

RE: snmptrapd not processing v3 traps

2014-10-14 Thread Geoff Kingsmill
2014 6:47 PM To: Jason Pope; Bill Fenner Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: RE: snmptrapd not processing v3 traps Ok … I have got it to work. I forgot to add in the authUser line :-P Also set it up without the engine ID and it works

snmptrapd not processing v3 traps

2014-10-14 Thread Jason Pope
Hi, Has anyone successfully set up snmptrapd to accept v3 traps from a device ? I have tried to set it up, but I see nothing in the log when the device sends v3 traps. When configured to send v2 traps you can see them in the logs. I have set up the createUser line in the snmptrapd.conf file

RE: snmptrapd not processing v3 traps

2014-10-14 Thread Jason Pope
From: Geoff Kingsmill [mailto:gkingsm...@yahoo.com] Sent: 06 October 2014 10:34 To: Jason Pope; 'Bill Fenner' Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: RE: snmptrapd not processing v3 traps Jason, Would you mind expanding on this. Would you mind

RE: snmptrapd not processing v3 traps

2014-10-14 Thread Jason Pope
[mailto:fen...@gmail.com] Sent: 03 October 2014 21:16 To: Jason Pope Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: Re: snmptrapd not processing v3 traps On Fri, Oct 3, 2014 at 11:06 AM, Jason Pope jp...@bats.commailto:jp...@bats.com wrote: Hi, Has anyone

Re: snmptrapd not processing v3 traps

2014-10-08 Thread Bill Fenner
Fenner' Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: RE: snmptrapd not processing v3 traps Jason, Would you mind expanding on this. Would you mind providing a sample on what you put in for authUser and CreateUser to overcome the need of having

Re: snmptrapd not processing v3 traps

2014-10-03 Thread Mike Krauss
about how it worked. I have never seen an answer on this list before so I don't think many people know. On Fri, Oct 3, 2014 at 11:06 AM, Jason Pope jp...@bats.com wrote: Hi, Has anyone successfully set up snmptrapd to accept v3 traps from a device ? I have tried to set it up, but I see

Re: snmptrapd not processing v3 traps

2014-10-03 Thread Bill Fenner
On Fri, Oct 3, 2014 at 11:06 AM, Jason Pope jp...@bats.com wrote: Hi, Has anyone successfully set up snmptrapd to accept v3 traps from a device ? I have tried to set it up, but I see nothing in the log when the device sends v3 traps. When configured to send v2 traps you can see them

R: snmptrapd snmptt carriage return line feed inside trap text string

2013-06-06 Thread Diego Campoli
@lists.sourceforge.net Oggetto: Re: snmptrapd snmptt carriage return line feed inside trap text string Den 04-06-2013 13:02, Diego Campoli skrev: So as you can see Hex strings variables are correctly handled. Thank you for your time, I wait you for a feedback :) What would you expect snmptrapd

snmptrapd snmptt carriage return line feed inside trap text string

2013-06-04 Thread Diego Campoli
monitoring checks installed on Vmware Virtual Machine with Ubuntu 12.04.1 LTS. I need to receive trap with Nagios so I installed and configured Net-SNMP / UCD-SNMP packages and snmptrapd. Started snmptrapd: sudo snmptrapd -A -n -d -On -f -d -Lf /var/log/snmptt/snmptrapd.log After converted MIB

Re: snmptrapd snmptt carriage return line feed inside trap text string

2013-06-04 Thread Niels Baggesen
Den 04-06-2013 13:02, Diego Campoli skrev: So as you can see Hex strings variables are correctly handled. Thank you for your time, I wait you for a feedback :) What would you expect snmptrapd should do about strings with embedded newlines? /Niels -- Niels Baggesen -- @home -- Århus

RE: [s...@spacehopper.org: Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.]

2012-12-11 Thread William
also applied the mod you suggested and will let it run for a while. I still see very small memory creep up but no sure if that is just because other processes are fluctuating the memory usage or if the net-snmp snmptrapd daemon is still leaking a little bit at at time with each trap received. Time

Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-11 Thread Stuart Henderson
On 2012-12-10, William wy...@nyc.rr.com wrote: Hi Gary, thanks for the suggestion. I tried commenting out that call to log_notifications() in the /net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c program file and recompiled the package with it. Ran snmptrapd and still has memory

NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread William Yee
and fixed. I have been developing a snmp trap forwarder using net-snmp v5.7.1 package on a Linux RHEL5 server. I had made a lot of modifications to the snmptrapd so that it can filter and/or manipulate traps based on trap OID and then forwards the desired traps on to 3 destinations. Thus, I have modified

RE: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread Gary Dunlap
@lists.sourceforge.net Subject: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd. Hello, main issue being reported is Memory Leaks in net-snmp v5.7.2 and v5.7.1. Support Key: 44ae-0f1e-cd36-1abb First off I am totally new to net-snmp and the support forum mechanism usage, so I hope I am posting to the right

RE: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread William
Hi Gary, thanks for the suggestion. I tried commenting out that call to log_notifications() in the /net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c program file and recompiled the package with it. Ran snmptrapd and still has memory leak. I removed all the MIB directories

Re: Reg: snmptrapd using SNMPv3

2012-03-19 Thread Robert Story
On Mon, 12 Mar 2012 22:39:26 +0530 Biswajit wrote: BM BM Hi All, BM I was trying to capture trap using snmptrapd for v3 traps, but I am not BM able to see the traps, I have created user traptest with specicfic group BM with v3 authentication with authpriv in snmp agent. BM BM Now did the below

Reg: snmptrapd using SNMPv3

2012-03-12 Thread Biswajit Mandal
Hi All, I was trying to capture trap using snmptrapd for v3 traps, but I am not able to see the traps, I have created user traptest with specicfic group with v3 authentication with authpriv in snmp agent. Now did the below config in snmptrapd.conf located in /etc/snmp. createUser -e

Re: shutdown_perl in snmptrapd

2012-01-10 Thread Bart Van Assche
a perl handler is still processing an incoming trap, then snmptrapd fails to cleanup the perl, as it can not free up the active subroutine. We get the warning Can't undef active subroutine from Perl_cv_undef() as it croaks. This is specifically problematic in SNMPv3 environments as then snmptrapd

How to inject handler in snmptrapd?

2011-10-17 Thread Kaiwang Chen
41 73 18 00 80 .B...d.. .As... 0060 01 ff 00 00 00 00 00 19 00 00 02 a2 01 00 c1 ... Actually it is an IPMI SEL like entry, something like Oct-16-2011 02:01:11 General Chassis Intrusion Asserted. I have verified two ways to plug into snmptrapd to get meaningful representation

How to run snmptrapd deamon

2011-02-11 Thread Vamsi Krishnam Raju D
Hi.. this is vamsi working in CDOT.Currently we are planning to use net-snmp stack. when I try to run the trap receiver with snmptrapd -F %02.2h:%02.2j TRAP%w.%q from %A\n localhost:8001 command and snmptrapd -F %02.2h:%02.2j TRAP%w.%q from %A\n ... but the process is not running

Re: How to run snmptrapd deamon

2011-02-11 Thread Manjit
./snmptrapd -c snmptrapd.conf -f -Lo Vamsi Krishnam Raju D wrote: Hi.. this is vamsi working in CDOT.Currently we are planning to use net-snmp stack. when I try to run the trap receiver with snmptrapd -F %02.2h:%02.2j TRAP%w.%q from %A\n localhost:8001 command and snmptrapd -F %02.2h

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Robert Story
On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: BVA Are the original transport data structure and its copy modified BVA independently of each other - if these are ever modified ? If not, a BVA possible alternative is to use reference counting instead of copying. I believe Wes added the copy

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Wes Hardaker
On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: BVA Are the original transport data structure and its copy modified BVA independently of each other - if these are ever modified ? If not, a BVA possible alternative is to use reference counting instead of copying. RS I believe Wes added the copy

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-07 Thread Magnus Fromreide
On Fri, 2011-01-07 at 14:13 -0800, Wes Hardaker wrote: On Thu, 6 Jan 2011 18:46:11 +0100 Bart wrote: BVA Are the original transport data structure and its copy modified BVA independently of each other - if these are ever modified ? If not, a BVA possible alternative is to use reference

Re: transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-06 Thread Bart Van Assche
On Thu, Jan 6, 2011 at 5:49 AM, Robert Story rst...@freesnmp.com wrote: On Tue, 04 Jan 2011 23:07:16 +0100 Magnus wrote: MF What is the correct semantics of a copy of a transport? MF MF What happens if I close the copy? The original? Good point. One of them will be left with a file

transport copy [Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)]

2011-01-05 Thread Robert Story
On Tue, 04 Jan 2011 23:07:16 +0100 Magnus wrote: MF What is the correct semantics of a copy of a transport? MF MF What happens if I close the copy? The original? Good point. One of them will be left with a file descriptor that is no longer valid. If some other tranport then opens a socket, they

Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)

2011-01-04 Thread Magnus Fromreide
On Mon, 2011-01-03 at 21:24 +0100, Bart Van Assche wrote: On Mon, Jan 3, 2011 at 8:57 PM, Bart Van Assche bvanass...@acm.org wrote: Hi, Recently tests T053 and T110 started to fail (Linux and Cygwin) in a similar fashion: snmp{trap}d.log shows that a

Re: trunk: Tests T053 (SNMPv3 snmptrapd USM user management with snmpusm) and T110 (AgentX GET support)

2011-01-03 Thread Bart Van Assche
On Mon, Jan 3, 2011 at 8:57 PM, Bart Van Assche bvanass...@acm.org wrote: Hi, Recently tests T053 and T110 started to fail (Linux and Cygwin) in a similar fashion: snmp{trap}d.log shows that a response has been sent but the client that sent the request did not receive the response. Has

Re: snmptrapd does not log snmpv3 traps?

2010-12-04 Thread Claus Klein
authtrapenable 1 master agentx agentxsocket tcp:127.0.0.1:7050 authcommunity read,write snmptrapd default -V all snmptrapd == snmptrapd.conf == authcommunity log public authUser log trapuser noAuthNoPriv -V _all_ '*' agentxsocket tcp:127.0.0.1:7050 createUser -e 0x80001f88017f01 trapuser MD5

Re: snmptrapd does not log snmpv3 traps?

2010-12-02 Thread Claus Klein
= (u_char *) 0x0 (gdb) snmptrapd: notification_log: logged notifications 0; max 1000 dumph_recv: SNMP Version dumpx_recv:02 01 03 dumpv_recv: Integer: 3 (0x03) dumph_recv: SNMPv3 Message dumph_recv: SNMP Version Number dumpx_recv: 02 01 03 dumpv_recv:Integer

Re: snmptrapd does not log snmpv3 traps?

2010-11-16 Thread Dave Shield
On 15 November 2010 22:59, Claus Klein claus.kl...@arcormail.de wrote: When I understand right, to setup the trap-receiver (snmptrapd), I have do get the engineID of the trapsender (snmpd) with [snip] The formal situation is that both sides of the connection should be configured using

Re: snmptrapd does not log snmpv3 traps?

2010-11-15 Thread Dave Shield
On 14 November 2010 22:25, Claus Klein claus.kl...@arcormail.de wrote: I use this trap session configuration: snmpd.conf:trapsess -v 3 -u unsec -l noAuthNoPriv udp:localhost:162 This is what happens on snmptrapd: read_config: ./snmptrapd.conf:23 examining: createUser unsec MD5

Re: snmptrapd does not log snmpv3 traps?

2010-11-15 Thread Claus Klein
Hi Dave, thanks for help. When I understand right, to setup the trap-receiver (snmptrapd), I have do get the engineID of the trapsender (snmpd) with snmpget -v3 -u unsec -s noAuthNoPriv localhost:4700 snmpEngineID.0 SNMP-FRAMEWORK-MIB::snmpEngineID.0 = Hex-STRING: 80 00 1F 88 01 C0 A8 01 81

snmptrapd does not log snmpv3 traps?

2010-11-14 Thread Claus Klein
Hi, I want to log snmpv3 traps with different context. So I configure to send snmpv3 traps to my trap receiver. I use this trap session configuration: snmpd.conf:trapsess -v 3 -u unsec -l noAuthNoPriv udp:localhost:162 This is what happens on snmptrapd: claus-kleins-macbook-pro:net-snmp-5.4.3

Re: snmptrapd and snmptrap using dtls

2010-09-29 Thread Wes Hardaker
sysContact.0 I'll note here that using the same certificate for both sides of the connection is generally not acceptable from the perspective of most security experts. DW I want to configure the SNMP Trap Daemon snmptrapd to use dtls. Is DW there any documentation on how to configure snmptrapd.conf so

snmptrapd and snmptrap using dtls

2010-09-28 Thread daniel.warren
:a3:55:0a:6c:37:03:b2:49:38:b1:01:99:95:8e: 43 --defSecurityModel=tsm dtlsudp:10.230.57.248:10161 sysContact.0 I want to configure the SNMP Trap Daemon snmptrapd to use dtls. Is there any documentation on how to configure snmptrapd.conf so that snmptrapd can use DTLS? Can I configure

Re: Running snmptrapd in IPv6

2010-07-22 Thread Manjit
Thanks Dave ... Dave Shield wrote: On 21 July 2010 14:16, Manjit manjit.si...@globaledgesoft.com wrote: Yes, i have configured the ipv6. ./configure --with-mib-modules=mibII/ipv6 That includes support for the IPv6 MIB modules. It does not include support for SNMP over IPv6 as a

Running snmptrapd in IPv6

2010-07-21 Thread Manjit
Hi All, I want to run snmptrapd to accept traps coming from agent in IPV6. Please provide me the command used for that. I am trying the below command but it is failing: [r...@101/udp sbin]# ./snmptrapd -d -c snmptrapd.conf -f -Lo udp6:162 getaddrinfo: udp6 Name or service not known couldn't open

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 11:27, Manjit manjit.si...@globaledgesoft.com wrote: I want to run snmptrapd to accept traps coming from agent in IPV6. Please provide me the command used for that. I am trying the below command but it is failing: [r...@101/udp sbin]# ./snmptrapd -d -c snmptrapd.conf -f -Lo

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 14:16, Manjit manjit.si...@globaledgesoft.com wrote: Yes, i have configured the ipv6. ./configure --with-mib-modules=mibII/ipv6 That includes support for the IPv6 MIB modules. It does not include support for SNMP over IPv6 as a transport mechanism. $ ./configure --help

Re: Running snmptrapd in IPv6

2010-07-21 Thread Manjit
Yes, i have configured the ipv6. ./configure --with-mib-modules=mibII/ipv6 make make install then i run the snmptrapd from /usr/local/sbin : [r...@localhost sbin]# ./snmptrapd -c snmptrapd.conf -f -Lo udp6:162 getaddrinfo: udp6 Name or service not known couldn't open udp6:162 -- errno 0 (Success

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-27 Thread Wes Hardaker
elements. SNMP agents must each have their own unique engineID. AgentX subagents, however, don't have engineIDs at all. (I'm not sure which you were referring to). TT If snmptrapd is a agentx subagent to snmpd, then you can send snmp SET TT requests to create new users to snmpd under the context

Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
Hi, As per Net-SNMP tutorial (refer section describing how to configure snmptrapd to receive v3 notification - http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications), - With SNMPv3 TRAPs, the *authoritative* engine is the engine that sends the trap

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Dave Shield
the snmptrapd service in master whenever a new element is added (snmptrapd.conf is updated with new engineID). Has anyone faced a situation like this? Any solution/suggestion would be highly appreciated. Two options spring to mind: a) configure the new element to send an INFORM notification

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Wes Hardaker
add one more clarification point: you can configure new users in the snmptrapd over the air without restarting it. If snmptrapd is a agentx subagent to snmpd, then you can send snmp SET requests to create new users to snmpd under the context name of snmptrapd to affect the snmptrapd's user table

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
an explicitly specified engineID when sending traps, and configure snmptrapd with users that also specify the same engineID. [Tony] Did you mean use a known engineID for subagent? The system has many elements, each containing a subagent. As a solution to this problem, I tried to use

Re: RFC: Making -d print snmpd / snmptrapd port numbers

2010-05-18 Thread Robert Story
/ snmptrapd. The patch below adds the snmpd / snmptrapd port number to BVA the -d output. I like it.. I say check it into trunk and see what breaks... -- ___ Net-snmp-coders

Reg 'snmptrapd' process

2010-02-10 Thread Pradeep Kalale Sudarshan
Hello, I am Pradeep from Bangalore, India. I use the 'snmptrapd' process of your NET SNMP package (version 5.1.2) I need one urgent info/clarification related to the above said process. I use this process to 'catch' some traps generated and handle it using the 'traphandle' in 'snmptrapd.conf

Re: Reg 'snmptrapd' process

2010-02-10 Thread Dave Shield
On 10 February 2010 04:19, Pradeep Kalale Sudarshan pradeep.sudars...@gmail.com wrote: I use the 'snmptrapd' process of your NET SNMP package (version 5.1.2) The first thing to say is that this is a very old version of the software, and the 5.1.x line is no longer being supported. I would

Re: Trap handler not called when snmptrapd receive a trap

2009-12-01 Thread Dave Shield
2009/12/1 Lv, Bo (EXT-Other - CN/Hangzhou) bo.lv@nsn.com: When I issued: snmptrapd -c /etc/snmptrapd.conf -d -f -Lo Nothing happened Nothing at all? Not even a version message? I presume you killed off the previous trap daemon first. what's more strange is the second time I issue

RE: Trap handler not called when snmptrapd receive a trap

2009-12-01 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Sent: Tuesday, December 01, 2009 4:34 PM To: Lv, Bo (EXT-Other - CN/Hangzhou) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Trap handler not called when snmptrapd receive a trap 2009/12/1 Lv, Bo (EXT-Other - CN/Hangzhou) bo.lv@nsn.com: When I issued: snmptrapd -c /etc/snmptrapd.conf

Re: Trap handler not called when snmptrapd receive a trap

2009-11-30 Thread Dave Shield
2009/11/20 Lv, Bo (EXT-Other - CN/Hangzhou) bo.lv@nsn.com: linux:/var/log # cat /etc/snmptrapd.conf traphandle .1.3.6.1.6.3.1.1.5.3  /tmp/tt /tmp/tt is a bash script which will echo a hello. What happens if you try traphandle .1.3.6.1.6.3.1.1.5.3 /bin/bash /tmp/tt ? snmptrapd -c

RE: Trap handler not called when snmptrapd receive a trap

2009-11-30 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Thanks for your reply. When I issued: snmptrapd -c /etc/snmptrapd.conf -d -f -Lo Nothing happened, what's more strange is the second time I issue this command, the snmptrapd may crash -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf

Trap handler not called when snmptrapd receive a trap

2009-11-19 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Hello, I've encountered a problem when snmptrapd receive a trap, but did not call the accordingly trap handler defined in /etc/snmptrapd.conf linux:/var/log # cat /etc/snmptrapd.conf traphandle .1.3.6.1.6.3.1.1.5.3 /tmp/tt /tmp/tt is a bash script which will echo a hello. I issued a trap

Re: SNMPTRAPD consumes lot of CPU%

2009-08-20 Thread Wes Hardaker
On Tue, 18 Aug 2009 12:43:01 +1000, Prashanth ( from gmail) prashanth...@gmail.com said: P We are tring to use the snmptrapd for receiving the traps. But the issue is P the snmptrapd consumes lot of CPU utilizations. P Also we observed that this happens only when there traps coming at the port

SNMPTRAPD consumes lot of CPU%

2009-08-18 Thread Prashanth ( from gmail)
Hi, We are tring to use the snmptrapd for receiving the traps. But the issue is the snmptrapd consumes lot of CPU utilizations. Also we observed that this happens only when there traps coming at the port continously. We are actualy not able to tune this, can you please help us in this matter

Re: snmptrapd 5.4.2.1 amd64 don't receive traps and fork very slow

2009-04-20 Thread Andrey V. Scopenco
Andrey V. Scopenco wrote: Hello, i have 2 problems with snmptrapd (net-snmp 5.4.2.1 amd64) on FreeBSD 7.1 release. 1. snmptrapd forks very slow. root$ time /usr/local/etc/rc.d/snmptrapd start Starting snmptrapd. real1m15.092s user0m0.040s sys 0m0.049s root$ file /usr

error come out when executing ./snmptrapd -v

2009-04-17 Thread XIANG Lei
Does anybody know that the error: .libs/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader when input ./snmptrapd -v in the linux cmd line. The platform is Linux RH ES 5.3 (64 bits). I had tried to link the netsnmp library in /usr/local/lib

snmptrapd 5.4.2.1 amd64 don't receive traps and fork very slow

2009-04-10 Thread Andrey V. Scopenco
Hello, i have 2 problems with snmptrapd (net-snmp 5.4.2.1 amd64) on FreeBSD 7.1 release. 1. snmptrapd forks very slow. root$ time /usr/local/etc/rc.d/snmptrapd start Starting snmptrapd. real1m15.092s user0m0.040s sys 0m0.049s root$ file /usr/local/sbin/snmpd /usr/local/sbin

Need help to configure snmptrapd

2008-10-07 Thread Somdatta Kale
target name=local_host_target transport-addresslocalhost/162/transport-address message-modelsnmpv1/message-model /target /targets - - Could you please guide me how to configure snmptrapd on this machine so that snmptrapd

Re: RFV: fix memory leak for snmptrapd embedded Perl on x86_64

2008-06-06 Thread Wes Hardaker
On Thu, 05 Jun 2008 02:41:25 +0200, Thomas Anders [EMAIL PROTECTED] said: TA BTW, you've been heavily arguing against the #ifdef hack in the first TA place back then, but don't let it stop you from voting for its TA persistence now that the alternative isn't a fancy segfault, but just TA

Re: RFV: fix memory leak for snmptrapd embedded Perl on x86_64

2008-06-04 Thread Wes Hardaker
On Sun, 01 Jun 2008 08:51:54 +0200, Thomas Anders [EMAIL PROTECTED] said: Log Message: --- NEWS: snmptrapd: BUG: 1955227: Memory leak for embedded Perl on x86_64 Modified Paths: -- branches/V5-2-patches/net-snmp/perl/TrapReceiver/TrapReceiver.xs TA I'm hereby

RFV: fix memory leak for snmptrapd embedded Perl on x86_64

2008-06-01 Thread Thomas Anders
[EMAIL PROTECTED] wrote: Revision: 16983 http://net-snmp.svn.sourceforge.net/net-snmp/?rev=16983view=rev Author: tanders Date: 2008-05-31 23:45:23 -0700 (Sat, 31 May 2008) Log Message: --- NEWS: snmptrapd: BUG: 1955227: Memory leak for embedded Perl on x86_64

SVN trunk: snmptrapd segfaults on shutdown

2008-05-06 Thread Thomas Anders
In SVN trunk, snmptrapd seems to segfault on shutdown consistently, at least if embedded Perl support has been enabled at compile time. To reproduce, just start snmptrapd and send it a SIGTERM. Here's the backtrace: (gdb) bt #0 0xb79d95da in perl_destruct () from /usr/lib/perl5/5.8.8/i586

snmptrapd snmptrap

2007-10-11 Thread Anh Nguyen
Hi, Could someone help shedding some lights into this following problem that I have? Many thanks in advance. I did not get the output as specified with -F snmptrapd -v 1 -Lo -F %02.2h:%02.2j TRAP%w.%q from %A\n snmptrap -v 1 -c public localhost RHDS-MIB::redhat $SERVER_HOST DirectoryServerDown

Re: snmptrapd snmptrap

2007-10-11 Thread Dave Shield
On 10/10/2007, Anh Nguyen [EMAIL PROTECTED] wrote: Could someone help shedding some lights into this following problem that I have? Many thanks in advance. I did not get the output as specified with -F Which version of snmptrapd are you using? Dave

Re: snmptrapd does not really work with my agent

2007-07-26 Thread Dave Shield
On 24/07/07, snmpAsker snmpAsker [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] have developed a small Trap-Agent (dynamic loadable) with the net-snmp API V 5.1.2 under Linux Redhat 4. The Agent sends each 2 seconds one Integer. But if I use ./snmptrapd -f -Le to catch the traps, the snmptrapd

  1   2   3   >