delete old logfiles
richard lucassen
mailinglists at lucassen.org
Sun Mar 27 19:03:17 CEST 2005
On Sun, 27 Mar 2005 10:12:30 -0600
"Marc Powell" <marc at ena.com> wrote:
> > Of course, but what happens if nagios is running for a few months
> > checking hundreds of sites? Nagios will sooner or later fill up your
> > '/var' partition. That's not a very good idea IMHO ;-)
>
> Seriously? It's not as if you are completely helpless here... Create
> or use a partition that is more suited to whatever retention schedule
> you are wanting. That should be an obvious solution.
>
> [nagios at betelgeuse var]$ pwd; du -sh archives/
> /usr/local/nagios/var
> 1.7G archives
>
> The above directory contains archives beginning in June of 2002 for
> about 2800 services on 1800 devices. It's overkill as the standard
> reports will go back no further than 2 years but I need to keep about
> 5 years worth. I still have > 10 Gigs of space for archive storage and
> another 17 or so years to go before I have to worry about space.
Ok, there are a lot of ways to avoid this problem, but maybe it's
something for the wishlist to have a variable that limits the size of
the archive. Something like
max_archive_size=500MB
max_archive_time=180days
But never mind, you're right that it's not a very big problem ;-)
R.
--
___________________________________________________________________
Mac OS X proves that it's easier to make UNIX pretty than it is to
make Windows secure.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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