[Pkg-nagios-devel] Bug#396102: Bug#396102: Nagiosprobablydoesn'tremoveoldlogsfrom/var/log/nagios2/archives/@nec hayev.zugschlus.de
Marc Haber
mh+debian-packages at zugschlus.de
Wed Oct 31 13:49:30 UTC 2007
On Mon, Oct 30, 2006 at 09:11:02AM +0100, sean finney wrote:
> On Sun, 2006-10-29 at 21:16 +0100, Heiko Schlittermann wrote:
> > Since nagios2 does its own logration (/var/log/nagios2/nagios.log ->
> > /var/log/nagios2/archives/...) I'm afraid that nobody will clean the old
> > logs. (At lease I do not see any relevant config option in the
> > nagios.cfg.)
>
> hrm... it wouldn't be too hard to do this, but i worry that folks
> might actually want to hold onto the logs for archival purposes
> or something. i suppose we could drop in a default crontab
> that removed files more than N months old or something, but
> we'd also have to agree on an acceptable lifespan for the archives.
I still think that it would be the cleanest method to get rid of
nagios' own log rotation and use proper logrotate. That way, we'll
have the configuration where people might expect it.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-nagios-devel
mailing list