Re: Sending SNMP traps to custom ports from Linux

2011-09-28 Thread Vivek Nagaraj
Thanks a lot!!! That worked like a charm on the first go! But the problem I faced was that the first time I got the trap at the right port (not 162), but subsequent traps were still sent to the default port i.e., 162. Can you please help me on this??? Thanks a ton. --

Re: Sending SNMP traps to custom ports from Linux

2011-09-28 Thread Magnus Fromreide
On Wed, 2011-09-28 at 13:19 +0530, Vivek Nagaraj wrote: > Ok. That seems to be good one. > > But cant I just change the default port to some other other than 162 > in the net-snmp code and get it compiled? You do not need to recompile to change the default port. Put the following line in your sn

Re: Sending SNMP traps to custom ports from Linux

2011-09-28 Thread Vivek Nagaraj
Ok. That seems to be good one. But cant I just change the default port to some other other than 162 in the net-snmp code and get it compiled? -- All the data continuously generated in your IT infrastructure contains a def

Re: RFV: Drop support for OpenSSL 0.9.6 and before

2011-09-28 Thread Magnus Fromreide
On Mon, 2011-09-26 at 08:23 +0200, Bart Van Assche wrote: > On Sun, Sep 25, 2011 at 2:59 AM, Magnus Fromreide > wrote: > > On Sat, 2011-09-24 at 09:52 +0200, Bart Van Assche wrote: > > diff --git a/configure.d/config_os_libs2 > b/configure.d/config_os_libs2 >

Re: Sending SNMP traps to custom ports from Linux

2011-09-28 Thread Dave Shield
On 28 September 2011 07:56, Vivek Nagaraj wrote: > I am building an application which sends SNMP trap which executes > 'snmptrap' command. > Is there anyway that I can make it send to custom port other than > 162??? $ man snmpcmd AGENT SPECIFICATION format