Re: Sending SNMP traps to custom ports from Linux

2011-10-04 Thread Magnus Fromreide
On Tue, 2011-10-04 at 12:03 +0530, Vivek Nagaraj wrote: > I have added my agent address to the snmpd.conf file. Or else I would > have not received the trap at port no 162. Read my lips. snmptrap *DOES NOT OPEN* snmpd.conf! You can write anything you like in that file and it won't affect the opera

Re: Sending SNMP traps to custom ports from Linux

2011-10-04 Thread Vivek Nagaraj
I shall provide you some of my findings now. Please correct me if I am wrong. 1) I 'DID' receive the trap message on my trap receiver (another server in the network) on port no 162 if mentioned hostname:portno 2) I 'DID NOT' receive the trap message on my trap receiver (another server in the netw

libtool 2.4 and perl rpath

2011-10-04 Thread Jan Safranek
Hi, when I compile net-snmp-5.7 on Linux with embedded perl, I get missing rpath in libnetsnmpmibs.so to perl: ldd -r libnetsnmpmibs.so.30 ... libperl.so => not found The link command in agent/Makefile.in is (nearly) the same as in net-snmp-5.5, yet the 5.5 brach compiles libnets

Re: libtool 2.4 and perl rpath

2011-10-04 Thread Niels Baggesen
On Tue, Oct 04, 2011 at 04:12:05PM +0200, Jan Safranek wrote: > /bin/sh ../libtool --mode=link gcc <...> libnetsnmpagent.la > ../libtool: line 8480: func_apped: command not found That looks suspiciously like someone misspelled func_append (in ltmain.sh) /Niels -- Niels Baggesen - @home - Ã…rhus

Re: libtool 2.4 and perl rpath

2011-10-04 Thread Bart Van Assche
On Tue, Oct 4, 2011 at 4:42 PM, Niels Baggesen wrote: > On Tue, Oct 04, 2011 at 04:12:05PM +0200, Jan Safranek wrote: > > /bin/sh ../libtool --mode=link gcc <...> libnetsnmpagent.la > > ../libtool: line 8480: func_apped: command not found > > That looks suspiciously like someone misspelled func_

Re: libtool 2.4 and perl rpath

2011-10-04 Thread Bart Van Assche
On Tue, Oct 4, 2011 at 4:12 PM, Jan Safranek wrote: > when I compile net-snmp-5.7 on Linux with embedded perl, I get missing > rpath in libnetsnmpmibs.so to perl: > > ldd -r libnetsnmpmibs.so.30 >... >libperl.so => not found > > The link command in agent/Makefile.in is (nearly) th

Re: Sending SNMP traps to custom ports from Linux

2011-10-04 Thread Magnus Fromreide
On Tue, 2011-10-04 at 12:45 +0530, Vivek Nagaraj wrote: > I shall provide you some of my findings now. Please correct me if I am wrong. > > 1) I 'DID' receive the trap message on my trap receiver (another > server in the network) on port no 162 if mentioned hostname:portno What command, exactly,

Re: libtool 2.4 and perl rpath

2011-10-04 Thread Bart Van Assche
On Tue, Oct 4, 2011 at 8:02 PM, Bart Van Assche wrote: > On Tue, Oct 4, 2011 at 4:42 PM, Niels Baggesen > wrote: >> >> On Tue, Oct 04, 2011 at 04:12:05PM +0200, Jan Safranek wrote: >> > /bin/sh ../libtool --mode=link gcc <...> libnetsnmpagent.la >> > ../libtool: line 8480: func_apped: command no