Nagios and log rotating

Ales Rikovsky Ales.Rikovsky at upol.cz
Mon May 4 11:35:38 CEST 2009


Question from Nagios newbie:

I need an access to the whole Nagios history to the complete log archive.
As Nagios (due to logrorating??) compresses the logs, I can't see for
example stats for the whole year or so. So I'm getting a message:

Error: Cannot open log file
'/var/log/nagios/archives/nagios-04-28-2009-00.log' for reading!


Is there a possibility or way to let the log files not to be compressed
and therefore the whole history available at ANY time, please?

Please help me.
Thank you.


	Ales

-- 
Ales Rikovsky, CVT UP
Computer Centre
Palacky University
+420 585631826
Ales.Rikovsky at upol.cz
Biskupske nam. 1
771 11 Olomouc
Czech Rep.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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