Re: snmptrapd -A append not working

"Ben Carbery" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I am on RHES5 system using latest available RH patches.

 Starting snmptrapd using the following options works:

 OPTIONS="-c /etc/snmp/snmptrapd.conf -Lf /var/snmp/snmptrapd.log -p
 /var/run/snmptrapd.pid"

 But each time the services is restarted the log file is truncated and
 data is lost.

 The man page indicates -A should cause traps to be appended to the
 file, but adding this option cause the service to fail.

 e.g.
 OPTIONS="-c /etc/snmp/snmptrapd.conf -LAf /var/snmp/snmptrapd.log -p
 /var/run/snmptrapd.pid"
 or
 OPTIONS="-c /etc/snmp/snmptrapd.conf -Lf /var/snmp/snmptrapd.log -A -p
 /var/run/snmptrapd.pid"

 The -H output seems to omit append as a supported option.

 Is it the case that this option is no longer supported?

 cheers,

 Ben

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.