Hi everybody,
the company i started working for is running a zabbix installation that looks like it could need some love. The guy who originally set up the system has left the company without documenting what he did and why.
It is a docker installation using mysql:8 running on a VM with 8 CPUs, 8 GB RAM and approx. 1T HDD. My colleagues managed to regularly update the zabbix containers, so at the moment we are running zabbix 5.4.8
The MySQL data directory has a size of approx. 700 GB. The Zabbix DB itself has approx. 600GB. The 100GB difference are 30 days of binlogs. In the last few days, the zabbix db grew about 2GB per day.
The biggest table is history_uint with ~400 GB, followed by history with ~ 150 GB.
We have ~700 hosts and 86850 items. Housekeeping is enabled, and the data storage period is set to 365 days.
From what i have read on the forums so far, i know that the housekeeping is not working as expected.
Is it possible to manually delete records from the history tables without shutting down the zabbix-server, or will this breaks something?
Is it possible to disable the binlogs?
Are there any tweakable housekeeper settings that might prevent the immense growth per day, in order to by us some time to clean up even more?
Cheers,
Roland
the company i started working for is running a zabbix installation that looks like it could need some love. The guy who originally set up the system has left the company without documenting what he did and why.
It is a docker installation using mysql:8 running on a VM with 8 CPUs, 8 GB RAM and approx. 1T HDD. My colleagues managed to regularly update the zabbix containers, so at the moment we are running zabbix 5.4.8
The MySQL data directory has a size of approx. 700 GB. The Zabbix DB itself has approx. 600GB. The 100GB difference are 30 days of binlogs. In the last few days, the zabbix db grew about 2GB per day.
The biggest table is history_uint with ~400 GB, followed by history with ~ 150 GB.
We have ~700 hosts and 86850 items. Housekeeping is enabled, and the data storage period is set to 365 days.
From what i have read on the forums so far, i know that the housekeeping is not working as expected.
Is it possible to manually delete records from the history tables without shutting down the zabbix-server, or will this breaks something?
Is it possible to disable the binlogs?
Are there any tweakable housekeeper settings that might prevent the immense growth per day, in order to by us some time to clean up even more?
Cheers,
Roland
Comment