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

List:       net-snmp-patches
Subject:    [Net-snmp-patches] [ net-snmp-Patches-674218 ] SIGHUP causes snmptrapd to close and reopen log file
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2003-01-24 18:50:36
[Download RAW message or body]

Patches item #674218, was opened at 2003-01-24 10:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=674218&group_id=12694

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: SIGHUP causes snmptrapd to close and reopen log file

Initial Comment:
snmptrapd does not provide a mechanism to close and re-open the log file.  This makes \
log rotation problematic as the daemon must be stopped and then restarted.  During \
this time, traps can be lost.  I've modified snmptrapd to close and re-open the \
logfile upon receipt of a SIGHUP.  By using a tool such as logrotate and its \
postrotate script, the logs can be safely rotated without any downtime from the \
daemon.

I've also included a doc patch as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=674218&group_id=12694


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Net-snmp-patches mailing list
Net-snmp-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-patches


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

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