How do nagios logs rotate

frank ratty at they.org
Thu Apr 14 02:56:01 CEST 2005


Assuming you're using GNU tail, try "tail --follow=name". After Nagios 
rotates the log, your tail process will find the new file and continue on 
its merry way.

-frank


On Wed, 13 Apr 2005 scott_yem at agilent.com wrote:

> I have a process looking at the log files and noticed that when the logs
> rotate, my process looking at the log file breaks.  I am using a tail -f
[snip]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list