Nagios xi Archives compression

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
vappukuttan
Posts: 52
Joined: Tue Mar 05, 2019 7:43 am

Nagios xi Archives compression

Post by vappukuttan »

Hello,

I have seen other topics where people have asked if we can compress files under /usr/local/nagios/var/archives. One of the suggestions were to move it to a NFS or shared storage to save space.

The space usage can vary, but we had about 400 days of logs and it was using about 11GB in space.

Doesnt it make sense to give some control within Nagios xi. How much of logs to save under archive and also to compress files and use compressed files. Technically, I think it would make sense to gzip it to save space, and I would think Nagios xi should be able to do what it needs to .. by uncompressing it on the fly.. or even uncompressing temporarily.

Dont know if there is an enhancement request location to add this.. but hopefully it makes sense..

Thank you,
Vinod
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios xi Archives compression

Post by ssax »

Currently the system cannot handle them being compressed and still have the ability to run the availability/exec summary/SLA reports on them as those reports read those files when they are run.

You can submit a feature request for this here as it's Core that is handling both of those processes (rotating them and reading them)

https://github.com/NagiosEnterprises/nagioscore/issues

You could setup logrotate to automatically compress or delete old ones but if you intend to run one of those reports for any of those timeframes it would error out because it doesn't support reading from compressed files as you found.