AW: Logfile Size

Sand Philipp Philipp.Sand at sycor.de
Tue Jan 31 12:37:41 CET 2006


Which Nagios Version are you using?
Logfile size depends on how many Nagios events happen, and how many hosts/services you monitor in Nagios, and how many reloads you perform.
In Nagios 2.0b3 Logfile sizes decrease rapidly. Our Logfiles had been about 50MB per day, with 2.0b3 they're only 7MB (we had a lot of restarts because of perfparse).
I regularly compress the logfiles I don't need, this helps, too...

> -----Ursprüngliche Nachricht-----
> Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] Im Auftrag von Dug Stokes
> Gesendet: Dienstag, 31. Januar 2006 10:52
> An: nagios-users at lists.sourceforge.net
> Betreff: [Nagios-users] Logfile Size
> 
> 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


************************************************

sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie

www.sycor-plastics.de

************************************************




Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde.

This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form.



-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
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