Logfile Size
Eli Stair
estair at ilm.com
Tue Jan 31 19:15:10 CET 2006
The easiest thing would likely be to make a quick logrotate definition
for the log file. The logrotating tool will depend on your
distribution, but they're all quite simple. Your existing system logs
are (likely) already being taken care of this way, just find their
configs and use as a reference.
/eli
Dug Stokes wrote:
> Hi Guys,
>
> I've just started using Nagios today, looks very impressive after I
> finally got it working!
>
> Was having a few problems getting it to access the database, but its
> finally there! Unfortuately all the errors made my logfile
> (/var/nagios/archives/*) over 20gb!
>
> Is there a way of limiting the logfile size to stop this, (couldn't find
> anything in the config, the forums or the mailing list!) or should I
> resort to SysLog and read up on how to limit that?
>
> Thanks everyone!
>
> Dug Stokes
> Webmaster
> Gilberd School, Colchester
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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