Nagios not processing log archives for availability reports
Nagios not processing log archives for availability reports
I have a Nagios Core 4.3.1 setup where old logfiles are compressed(xz archive) once a week. I know that I can disable this by changing the NAGIOS_COMPRESS_LOGFILES variable in /etc/sysconfig/nagios file, but in order to save the disk space, I would like to keep it enabled. However, when compression is enabled, the "Host Availability Report" or "Service Availability Report" feature no longer work for those time-periods which logs are compressed, i.e Nagios is not able to process compressed files. Is there a way to configure Nagios to process compressed log archives for availability reports?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not processing log archives for availability repo
No, Nagios need to be able to read the uncompressed files to process the report.cramo wrote:I have a Nagios Core 4.3.1 setup where old logfiles are compressed(xz archive) once a week. I know that I can disable this by changing the NAGIOS_COMPRESS_LOGFILES variable in /etc/sysconfig/nagios file, but in order to save the disk space, I would like to keep it enabled. However, when compression is enabled, the "Host Availability Report" or "Service Availability Report" feature no longer work for those time-periods which logs are compressed, i.e Nagios is not able to process compressed files. Is there a way to configure Nagios to process compressed log archives for availability reports?