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

Reply via email to