Re: Calling SNMP.pm from snmptrapd using embedded perl

2006-03-31 Thread Wes Hardaker
> On Thu, 30 Mar 2006 12:45:32 +0100 (BST), "Peter Hicks" <[EMAIL > PROTECTED]> said: Peter> my $snmp_handle = new SNMP::Session( Peter> DestHost => Peter> $device_info->{'ip_address'}, Peter> Community => Peter> $device_info->{'passwords'}->{$community_string_type'}, Peter> Version => Pe

Calling SNMP.pm from snmptrapd using embedded perl

2006-03-30 Thread Peter Hicks
All, I have the need to make SNMP requests from within a traphandler called from snmptrapd and using embedded perl. Every time, without fail, I get a ** glibc detected *** double free or corruption (!prev): 0x0883e6f8 *** error in the following code: my $snmp_handle = new SNMP::Session(