Doug Smith wrote:
I'm using a perl script called linksysmon.  This script starts snmptrapd
with the following code:

my $snmptrapd = $linksysmon->TrapdPath().' -C -P -F "%A %y-02.2m-%02.2l%
02.2h:$02.2j:%02.2k %v\n" -0a 2>&1 1>/dev/null';

In the log it says the -P option is being deprecated, and '-Le' should
be used instead.  So I changed the -P in the script to -Le and it
doesn't work.  Starting snmptrapd manually with -P the log outputs to
the screen but using -Le the daemon runs in the background.  My question
is how can I fix the script not to error but still work like it does
with -P.  I've tried using the -f with -Le with the same results. I also
tried using -Lo and nothing.

"-f -Le" should be the correct replacement. What problems do you get when you run this by hand? What version are you running? (try the latest release if you're using an older one)


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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

Reply via email to