Question Locked

Does Nagios compress logs files?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Web Interface of Nagios shows me at Event Log Page:

Error: Could not open log file '/var/log/nagios/archives/nagios-09-01-2012-00.log' for reading!

It is because it has name "nagios-09-01-2012-00.log.bz2"

Something compress it every 5 days. But logrotate doesn't do this, and I haven't cron job at all. And I have not found is able nagios to do this.

3 replies

by robo_dev

/etc/cron.weekly/nagios should just do this once a week...

by vladislav86

Thanks!! I have found it!!
Before i use "crontab -l -u nagios" and it didn't show me any job.
Is there command to show all jobs, or I have to go to every directory of cron and look for?

This discussion is closed to new replies.