Nagios database optimize
Posted: Tue Jan 22, 2019 2:27 pm
Hello,
We realized that the problem of the space being filled and release was related to Nagios Database optimzation. The folder /var/lib/mysql/nagios grows to about twice the file nagios_logentries.* combined every time the optimization runs. We changed it to run every 120 minutes instead of 60 minutes and now it seems to take a bit more space when is running the process, and then the space is released. Is this the normal behavior?
Would it be possible to run this optimizations only once a day, at night? I don't see any option to set the time when the database optimization will run, only the interval.
We realized that the problem of the space being filled and release was related to Nagios Database optimzation. The folder /var/lib/mysql/nagios grows to about twice the file nagios_logentries.* combined every time the optimization runs. We changed it to run every 120 minutes instead of 60 minutes and now it seems to take a bit more space when is running the process, and then the space is released. Is this the normal behavior?
Would it be possible to run this optimizations only once a day, at night? I don't see any option to set the time when the database optimization will run, only the interval.