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 way

Re: snmptrapd queue+retry

2021-05-05 Thread Feroz
are what 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 >

Re: snmptrapd queue+retry

2021-04-29 Thread Wes Hardaker via Net-snmp-coders
p] tag 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 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 l

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 (TDES

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 n

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), howe

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 tra

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 f

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 to r

Re: snmptrapd users set by snmpusm

2018-09-24 Thread Wes Hardaker via Net-snmp-coders
Josef Ridky writes: > 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

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 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 the -X argument, tr

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 allocation(s

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 wrote: > Hi NET-SNMP,

Re: Snmptrapd memory leak at log_notification

2017-07-11 Thread Jeffry Copps
e end of log_notification 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 wrote: > Hi Jeffry, > > no one can tell you that snmptrapd is without any memory leaks. I am sure, > they are h

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 ne

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 snmptr

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,

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 Jason Pope
@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net Subject: RE: snmptrapd not processing v3 traps Bill, I had a look at the doc and no matter what I have done it still does not seem to work. I have tried multiple combinations of engineID with a 0x and not in front. Putting the Id in or not

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. Woul

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 mailto:jp...@bats.com>> wrote: Hi, Has anyone succes

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 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

Re: snmptrapd not processing v3 traps

2014-10-08 Thread Bill Fenner
o.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 yo

Re: snmptrapd not processing v3 traps

2014-10-03 Thread Bill Fenner
On Fri, Oct 3, 2014 at 11:06 AM, Jason Pope 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

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 wrote: > Hi, > > > > Has anyone successfully set up snmptrapd to accept v3 traps from a device ? > > > > I have tried to

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

2013-06-06 Thread Diego Campoli
13 22:37 A: Diego Campoli; net-snmp-coders@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

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

snmptrapd snmptt carriage return line feed inside trap text string

2013-06-04 Thread Diego Campoli
nd passive 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"

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

2012-12-11 Thread Stuart Henderson
On 2012-12-10, William 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 m

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-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: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-10 Thread Gary Dunlap
2 11:06 AM To: net-snmp-coders@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 mechan

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

2012-12-10 Thread William Yee
ported 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 hav

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>

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
ler 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 envir

shutdown_perl in snmptrapd

2012-01-09 Thread Joel Avni
Hello, I have a question regarding the perl cleanup in snnmptrapd. Why shutdown_perl() is called from withithin the term_handler() routine in snmptrapd.c? The problem we are seeing is that if a TERM signal is caught while a perl handler is still processing an incoming trap, then snmptrapd

How to inject handler in snmptrapd?

2011-10-17 Thread Kaiwang Chen
20 00 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

Re: How to run snmptrapd deamon

2011-02-11 Thread rakesh zingade
run the same command with -f and -Le options and trace down the errors and use net-snmp-user mailing list for these kind of queries. On Fri, Feb 11, 2011 at 4:54 PM, Manjit wrote: > ./snmptrapd -c snmptrapd.conf -f -Lo > > > Vamsi Krishnam Raju D wrote: > > Hi.. > >

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

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" &

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 c

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 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 funct

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 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 descriptor that is

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, the

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 > 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 ha

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 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 anyone already

Re: snmptrapd does not log snmpv3 traps?

2010-12-04 Thread Claus Klein
v udp:127.0.0.1:5689 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

Re: snmptrapd does not log snmpv3 traps?

2010-12-02 Thread Claus Klein
ain (argc=7, argv=0xb79c) at snmpd.c:1277 (gdb) up 5 #5 0x000ef86b in usm_generate_OID (prefix=0xbfffe904, prefixLen=12, uptr=0x244dc0, length=0xbfffe87c) at snmpv3/usmUser.c:108 108 assert(!uptr->engineIDLen || (uptr->engineIDLen && uptr- >engineID)); (gdb) print

Re: snmptrapd does not log snmpv3 traps?

2010-11-16 Thread Dave Shield
On 15 November 2010 22:59, Claus Klein 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 the ID

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

Re: snmptrapd does not log snmpv3 traps?

2010-11-15 Thread Dave Shield
On 14 November 2010 22:25, Claus Klein 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 "

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
lsudp:10.230.57.248:10161 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 a

snmptrapd and snmptrap using dtls

2010-09-28 Thread daniel.warren
1:99:95:8e:43 -T their_identity=cd:74:45:c9:a3: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

Re: Running snmptrapd in IPv6

2010-07-22 Thread Manjit
Thanks Dave ... Dave Shield wrote: > On 21 July 2010 14:16, Manjit 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.

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

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 14:16, Manjit 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 : --enable-

Re: Running snmptrapd in IPv6

2010-07-21 Thread Dave Shield
On 21 July 2010 11:27, Manjit 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 udp6:162 Did you

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

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

2010-05-27 Thread Wes Hardaker
ine ID by subagents in all TT> 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 SE

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

2010-05-26 Thread Tony Thomas
ement to use 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

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

2010-05-26 Thread Wes Hardaker
answer is already perfect. But I'll 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 "sn

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

2010-05-26 Thread Dave Shield
uld have the engineID pre-configured in its snmptrapd.conf to receive the > notification. > > As per system requirements, the new element must be added to system without > user intervention (not possible to manually configure the engineID in master > element). Also it is not acceptab

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: RFC: Making -d print snmpd / snmptrapd port numbers

2010-05-18 Thread Robert Story
ed by BVA> snmpd / 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... -- ___

Re: Reg 'snmptrapd' process

2010-02-10 Thread Dave Shield
On 10 February 2010 04:19, Pradeep Kalale Sudarshan 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 strongly suggest t

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 'traph

RE: Trap handler not called when snmptrapd receive a trap

2009-12-01 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
hield 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) : > When I issued: snmptrapd -c /etc/snmptrapd.conf -

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) : > 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 >

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 B

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) : > 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 ? > sn

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

Re: SNMPTRAPD consumes lot of CPU%

2009-08-20 Thread Wes Hardaker
>>>>> On Tue, 18 Aug 2009 12:43:01 +1000, "Prashanth ( from gmail)" >>>>> 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 h

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 >

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
ation. -- localhost/162 snmpv1 - - Could you please guide me how to configure snmptrapd on this machine so that snmptrapd would receive the traps published by my application. Thanks in advance. Somdatta Kale | Software Eng

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

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

2008-06-04 Thread Thomas Anders
Wes Hardaker wrote: > I think without looking further into the issue, I'd say -1. If it's > known to cause segfaults on x86_64 (as the comment applies) then it > would be better to change the ifdef to a point where we know it's safe > now, or go back to the original perl version that the problem a

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: >

  1   2   3   >