[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    Re: snmptrapd -A append not working
From:       "Dave Shield" <D.T.Shield () liverpool ! ac ! uk>
Date:       2007-11-28 9:47:14
Message-ID: c64ae3380711280147t37f2577aicffdab043b5bf16c () mail ! gmail ! com
[Download RAW message or body]

On 28/11/2007, Ben Carbery <bencarbery@yahoo.com.au> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic