-Le doesn't seem to replace -P
Doug Smith <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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. ------------------------------------------------------- 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