Nagios not processing log archives for availability reports

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cramo
Posts: 1
Joined: Thu May 30, 2019 6:19 am

Nagios not processing log archives for availability reports

Post by cramo »

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

Post by scottwilkerson »

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?
No, Nagios need to be able to read the uncompressed files to process the report.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked