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 rather than snmptrapd itself.
I have InfoVista running on 8 different hosts, some of them running thousands of reports that produce potentially thousands of traps every 5 minutes (threshold breaches). I was losing in the region of 1.5GB of memory over a w/e; hence my next step was to use snmptt. I don't believe it's a memory leak per-say rather the embedded perl is holding on to every processed trap. Regards Andy -----Original Message----- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: 19 April 2005 18:43 To: Andy Ford Cc: [EMAIL PROTECTED]; Net-Snmp (E-mail) Subject: Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work! >>>>> 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> parameter from the shell it works a treat. Obviously a syntax error, Andy> but I wouldn't mind a little feedback from the script to help Andy> debugging! You know net-snmp 5.2 and higher contains snmptrapd embedded perl support which should do what you want a bit more easily I think. -- Wes Hardaker Sparta, Inc. This e-mail is private and may be confidential and is for the intended recipient only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed. If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it. We use reasonable endeavours to virus scan all e-mails leaving the Company but no warranty is given that this e-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor e-mail communications through our network is reserved by us. ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
