This is a discussion on snmptrapd -H: no "perl"? within the SNMP Coders forums, part of the Networking and Network Related category; -Coders, is there a good reason why "snmptrapd -H" (unlike "snmpd -H") does *not* list "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-Coders,
is there a good reason why "snmptrapd -H" (unlike "snmpd -H") does *not* list "perl" as a supported option even when --enable-embedded-perl was configured and is *working*, i.e. "perl" *is* recognized in snmptrapd.conf? foo# /bc/net-snmp-5.2cvs/sbin/snmptrapd -H 2>&1 | grep perl foo# SNMPCONFPATH=/tmp/net-snmp /bc/net-snmp-5.2cvs/sbin/snmptrapd -f -Lo -Dread_config | grep perl read_config: /tmp/net-snmp/snmptrapd.conf:1 examining: perl do "/bc/bin/trapreceiver.pl"; read_config: /tmp/net-snmp/snmptrapd.conf:1 examining: perl do "/bc/bin/trapreceiver.pl"; read_config: Found a parser. Calling it: perl / do "/bc/bin/trapreceiver.pl"; foo# cat /tmp/net-snmp/snmptrapd.conf perl do "/bc/bin/trapreceiver.pl"; foo# /bc/net-snmp-5.2cvs/sbin/snmpd -H 2>&1 | grep perl perl PERLCODE perlInitFile string This is with 5.2.x (CVS). Even worse, in 5.3 (CVS) "snmptrapd -H" crashes for me, but that's the next thread. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |