problems with nagios rotating logs

PGuth at corp.terralycos.com PGuth at corp.terralycos.com
Fri Sep 17 02:35:30 CEST 2004


I had the same problem as Tim did, and it turned out that there were 2 
copies of Nagios running.  When I did an init.d/nagios stop, there were 
still a bunch of nagios processes hanging around.  I killed them and 
restarted and haven't had a log rotation yet, but I expect it'll work 
fine.





Tim Deroose <t at ba.be>
Sent by: nagios-users-admin at lists.sourceforge.net
09/16/2004 08:15 AM
 
        To:     nagios-users at lists.sourceforge.net
        cc: 
        Subject:        [Nagios-users] problems with nagios rotating logs


Hi,

I've been stuck at a problem for a while now. It seems that nagios 1.2
for some reason isn't rotating it's logs correctly anymore. The current
logfile is working perfectly, but in the $NAGIOSDIR/var/archives
directory starting september 9th every night at midnight exactly I get a
33 bytes long rotated logfile that only contains one line:

[TIMESTAMP] LOG ROTATION: DAILY

Before the 9th of September I wasn't having any problems at all.

I've checked for files that I've edited since then, and I've only added
contacts, some hosts and services for those hosts. I've checked this
mailinglist before and there was another person who had this problem, on
a similar system (a debian woody machine), unfortunatly there was no
solution.

Is the logrotation a special command defined somewhere? Could I have
accidentally trampled over something in the configuration file?

Thanks for any help you can give on this problem.

-- 
Kind regards,
Tim Deroose
BA NV

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 196 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040916/f55fe7b1/attachment.obj>


More information about the Users mailing list