Archive logs

Hari Sekhon hpsekhon at googlemail.com
Wed Sep 6 12:15:54 CEST 2006


Wheeler, JF (Jonathan) wrote:
> What do people do about their archive logs ?  I am running a
> configuration on Scientific Linux with nearly 600 hosts and 13000+
> services which generates quite large log files.  As far as I can tell
> the logs are moved to the archive and retained there indefinitely; my
> /var partition is now getting quite full.  I have tried using logrotate,
> but the log file names do not seem to allow logrotate to work correctly.
> A browse through the mailing list archives does not show anyone else
> asking about this problem.  Any suggestions ?
>
> Jonathan Wheeler
> e-Science Centre
> Rutherford Appleton Laboratory
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
>   

I would do a simple script cronned nightly to remove files? Best to 
remove all but the latest x number of logs which amounts to x days of 
history. I expect that the history interface to nagios relies on these 
though so you might just want to move them to another location and then 
burn them off or something.


-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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