Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-29 Thread Wes Hardaker
On Thu, 28 Apr 2005 11:26:19 +0100, Andy Ford [EMAIL PROTECTED] said: Andy I have just tested the new code from CVS - I didn't do a diff to Andy see the changes - just compiled and installed over what I had. Andy I bombarded the snmptrapd with traps and saw the memory Andy utilisation grow from

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-28 Thread Andy Ford
Hi Wes I have just tested the new code from CVS - I didn't do a diff to see the changes - just compiled and installed over what I had. I bombarded the snmptrapd with traps and saw the memory utilisation grow from 10MB to 50MB in a few minutes. Can I do some further testing here to help out

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-25 Thread Andy Ford
Wes - thanks for responding with a patch. Unfortunately, it didn't work. I limited my perl script to the following but the memory issue still persists... sub my_receiver { print PDU INFO:\n; foreach my $k(keys(%{$_[0]})) { my $key = sprintf(%s, $k);

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-25 Thread Wes Hardaker
On Thu, 21 Apr 2005 14:01:04 -0500, Gary Clark [EMAIL PROTECTED] said: Gary Has anybody ran purify on this ? No, but i ran valgrind on it and it showed one leak which the previous patch fixed... I wasn't able to produce any more. I may try to mess with it some more then (I need it fixed too

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-21 Thread Gary Clark
Has anybody ran purify on this ? Cheers, Garyc - Original Message - From: Wes Hardaker [EMAIL PROTECTED] To: Andy Ford [EMAIL PROTECTED] Cc: Wes Hardaker [EMAIL PROTECTED]; [EMAIL PROTECTED]; Net-Snmp (E-mail) net-snmp-users@lists.sourceforge.net Sent: Wednesday, April 20, 2005 1:43 PM

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-20 Thread Andy Ford
Thanks for responding Wes I have taken a look at the embedded Perl approach and written a script to do exactly what I want. Unfortunately, there is a huge memory leak in the Perl side. I have already spoken to Robert Story ref this problem and we have agreed it is the embedded Perl implementation

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-20 Thread Wes Hardaker
On Wed, 20 Apr 2005 10:03:10 +0100, Andy Ford [EMAIL PROTECTED] said: Andy I have taken a look at the embedded Perl approach and written a Andy script to do exactly what I want. Unfortunately, there is a huge Andy memory leak in the Perl side. I have already spoken to Robert Andy Story ref this

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-19 Thread Wes Hardaker
On Thu, 14 Apr 2005 16:49:16 +0100, Andy Ford [EMAIL PROTECTED] said: Andy Thanks Jeff. Unfortunately I am using the SNMP Perl module supplied Andy with net-snmp. When I run my script it returns nothing - error or no Andy error - it quietly returns. When I run snmptrap with the same Andy

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-14 Thread Andy Ford
Thanks Jeff. Unfortunately I am using the SNMP Perl module supplied with net-snmp. When I run my script it returns nothing - error or no error - it quietly returns. When I run snmptrap with the same parameter from the shell it works a treat. Obviously a syntax error, but I wouldn't mind a