I don't know if this is the right place to ask this question, but, does anyone knows about Net-SNMP. Is it possible to not truncate the log file whenever snmptrapd is restarted?
The logs are being rotated by logrotate. But whenever I restart the snmp listener using this command:
Or using this:
The log file for snmptrapd is being restarted to 0KB (restarted), previous logs are being deleted. We don't want that to happen.