Re: Problem in getting perl_module.pl to work

2005-07-22 Thread Julia Wu
Hi,   I've found that the problem is due to the fact that "perl_module_orig.pl" is executed twice for unknown reason. So it stuck in the following code $agent->register('myname',$regoid, \&my_snmp_handler);   Can anyone tell me why "perl_module_orig.pl" is executed twice when there is only one perl

Problem in getting perl_module.pl to work

2005-07-21 Thread Julia Wu
Hi,   I tried to follow the tutorial to get some understanding of how to embeded perl in snmp-agent. However, I can never start up snmpd once I put the "perl do " in the snmpd.conf.   When I start up with the following command.snmpd -r -f -L -c $NET_SNMP_ROOT_DIR/share/snmp/snmpd.conf udp:1161