Am I missing an option? : SOLVED

Gareth Hash fyzix at yahoo.com
Tue May 27 19:37:59 CEST 2003


The cause of this problem was the same as that for hosts and services
intermittently disappearing. There was more than one nagios process
running at the same time, thereby causing conflicts.


--- Gareth Hash <fyzix at yahoo.com> wrote:
> Hello. 
> 
> I am having some trouble with the log rotations. The current day's
> logs are fine in nagios.log . However when it comes time for a
> rotation, the file supposed to contain those logs in the archive is
> blank. So a file such as nagios-05-20-2003-00.log has just one line
> 
> in it :  [1053403200] LOG ROTATION: DAILY
> 
> None of the logs recorded for that day are available. It is almost
> as
> if nagios.log is deleted BEFORE the contents are copied over to the
> archives, instead of the other way around. Or am I missing an
> option?
> 
> 
> I have the following set in nagios.cfg :
> 
> log_rotation_method=d
> log_archive_path=/opt/nagios/var/archives
> 
> 
> This is on a critical server, and your earliest possible response
> would be greatly appreciated. 
> 
> Thank you for your time and attention.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
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