Nagios Backups consuming a lot of disk space.
Posted: Tue Feb 04, 2025 5:58 am
Hi all,
I hope you are doing well.
We use Nagios XI 2024R1.3.3 to monitor 71 hosts and 850+ services across all hosts.
Recently, we migrated our NagiosXI server from EOL CentOS to Ubuntu 22.04. Everything is working great, and I have no issues with the monitoring.
On CentOS, we only had the SSH backup enabled, which is still working with no issues; my manager requested that we also have a local backup running weekly, and here's where the problem started.
Currently, our Nagios backup takes around 25GB after being compacted. I'm here to clarify this to ensure we're not backing up stuff we shouldn't. Is 25GB a standard backup size for the number of hosts and services we monitor?
The root partition of the disk currently has 40GB available. However, the backup has failed for the second weekend in a row due to a lack of space. I wonder if there's a way to delete the existing NagiosXI backup on the disk before starting the new one directly from the backup script without setting up a new Cron job manually.
My data retention period is 365 days (default), and we need to keep that config.
Any help/suggestion is appreciated.
Kind regards,
Arthur Kroth
I hope you are doing well.
We use Nagios XI 2024R1.3.3 to monitor 71 hosts and 850+ services across all hosts.
Recently, we migrated our NagiosXI server from EOL CentOS to Ubuntu 22.04. Everything is working great, and I have no issues with the monitoring.
On CentOS, we only had the SSH backup enabled, which is still working with no issues; my manager requested that we also have a local backup running weekly, and here's where the problem started.
Currently, our Nagios backup takes around 25GB after being compacted. I'm here to clarify this to ensure we're not backing up stuff we shouldn't. Is 25GB a standard backup size for the number of hosts and services we monitor?
The root partition of the disk currently has 40GB available. However, the backup has failed for the second weekend in a row due to a lack of space. I wonder if there's a way to delete the existing NagiosXI backup on the disk before starting the new one directly from the backup script without setting up a new Cron job manually.
My data retention period is 365 days (default), and we need to keep that config.
Any help/suggestion is appreciated.
Kind regards,
Arthur Kroth