Re: snmptrapd -A append not working

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 28/11/2007, Ben Carbery <[email protected]> wrote:
> OPTIONS="-c /etc/snmp/snmptrapd.conf -A -Lf /var/snmp/snmptrapd.log -p
> /var/run/snmptrapd.pid"
>
> This still does not work. Note the -A is missing from the output:

It's a bug in 5.3.1, which has subsequently been fixed.
The code for processing the -A option is present, but this
case is not listed in the string passed to "getopt".

See
http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/apps/snmptrapd.c?view=diff&r1=15588&r2=15589
for the fix.

This should work correctly in the 5.4.x line, and the upcoming 5.3.2 release.

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.