Zabbix 6.2.1
Ubuntu 18.04.6 LTS
Inherited Zabbix from my predecessor and now running into the issue of /var: Disk space is critically low (used > 90%) on the Zabbix server. My knowledge of Zabbix and Linux is limited (I know enough to be dangerous) so bear with me.
Disk usage of the 1.2TB partition is now at about 100%, I modified the Housekeeping values from 365d to 90d and it barely made a dent. I'm aware from reading the manuals and other forum posts that it could take many housekeeping cycles before it cleans up to the parameters that have been set. Now here's the kicker: when I started poking around in /var to see what was taking up so much space I saw that /var/zabbix/ has both /mysql and /mysql-old directories. /var/zabbix/mysql/zabbix is only taking up about 15GB and is actively being written to but /var/zabbix/mysql-old/zabbix is taking up about 120GB and the entries were last modified one year ago.
My question is: is it safe to remove that old database, how do I safely go about doing that and will it free up that storage afterwards? If I can provide any additional information let me know and I'll do my best. Thank you in advance.
Ubuntu 18.04.6 LTS
Inherited Zabbix from my predecessor and now running into the issue of /var: Disk space is critically low (used > 90%) on the Zabbix server. My knowledge of Zabbix and Linux is limited (I know enough to be dangerous) so bear with me.
Disk usage of the 1.2TB partition is now at about 100%, I modified the Housekeeping values from 365d to 90d and it barely made a dent. I'm aware from reading the manuals and other forum posts that it could take many housekeeping cycles before it cleans up to the parameters that have been set. Now here's the kicker: when I started poking around in /var to see what was taking up so much space I saw that /var/zabbix/ has both /mysql and /mysql-old directories. /var/zabbix/mysql/zabbix is only taking up about 15GB and is actively being written to but /var/zabbix/mysql-old/zabbix is taking up about 120GB and the entries were last modified one year ago.
My question is: is it safe to remove that old database, how do I safely go about doing that and will it free up that storage afterwards? If I can provide any additional information let me know and I'll do my best. Thank you in advance.
Comment