log rotation

Roy Kidder nagios at jehster.net
Thu Sep 29 19:31:40 CEST 2005


I'm having a problem with log rotation. Nameley, it isn't working. I have
the following in my nagios.cfg file:

log_file=/var/log/nagios.log
log_rotation_method=d
log_archive_path=/var/log/nagios-archives

The /var/log/nagios.log never gets rotated, however. The directory
/var/log/nagios-archives has 755 permissions and is owned by
nagios:nagios, but /var/log/nagios.log never gets rotated into it.

Anyone have suggestions?

Thanks in advance,
Roy



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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