Nagios XI Backups Large
Posted: Thu Feb 13, 2025 10:36 am
We are using v5.5.0, I inherited the system...now, reverse-engineering the configuration. There are:
108 Hosts
1,247 Services
12 Contacts
149 Commands
0 Service Dependencies
22 Host Groups
3 Service Groups
2 Contact Groups
0 Host Dependencies
Current Performance Settings for the Nagios XI Database are:
* Maximum Commands Age: 480 minutes
* Maximum Events Age: 480 minutes
* Maximum SNMP Trap Age: 30 days
* Maximum Scheduled Reports History Age: 90 days
* Maximum Expired Auth Token Age: 24 hours
* Maximum Expired Session Age: 24 hours
* Maximum Audit Log Age: 45 days
* Optimize Interval: 60 minutes
The /store/backup directory is very large over 50 GB which is filling up /. The /var/lib/mysql dbase directory is also very large. Particularly, the "xi_eventqueue.ibd" (8.9G) and "xi_meta.ibd" (40.0 G).
All the checks (for the services) are running every 5 minutes and crashing the system as the kauditd cannot keep up with all the messages coming in. This is going to be the first of many help request posts. I am used to the old free version of Nagios. What attributes do I need to modify to scale back the about of checks being logged? And what are the best practices/recommendations for the backups?
FYI, I have modified the /root/scripts/automysqlbackup to send the backups to an NFS mountpoint. But we can't keep those backups for ever.
108 Hosts
1,247 Services
12 Contacts
149 Commands
0 Service Dependencies
22 Host Groups
3 Service Groups
2 Contact Groups
0 Host Dependencies
Current Performance Settings for the Nagios XI Database are:
* Maximum Commands Age: 480 minutes
* Maximum Events Age: 480 minutes
* Maximum SNMP Trap Age: 30 days
* Maximum Scheduled Reports History Age: 90 days
* Maximum Expired Auth Token Age: 24 hours
* Maximum Expired Session Age: 24 hours
* Maximum Audit Log Age: 45 days
* Optimize Interval: 60 minutes
The /store/backup directory is very large over 50 GB which is filling up /. The /var/lib/mysql dbase directory is also very large. Particularly, the "xi_eventqueue.ibd" (8.9G) and "xi_meta.ibd" (40.0 G).
All the checks (for the services) are running every 5 minutes and crashing the system as the kauditd cannot keep up with all the messages coming in. This is going to be the first of many help request posts. I am used to the old free version of Nagios. What attributes do I need to modify to scale back the about of checks being logged? And what are the best practices/recommendations for the backups?
FYI, I have modified the /root/scripts/automysqlbackup to send the backups to an NFS mountpoint. But we can't keep those backups for ever.