Recently I began to replace my own primitive decade-old monitoring scripts with Zabbix. Well, after a few days of joy I discovered that Zabbix Grows. I dumped the database, deleted old files from /var/lib/mysql, changed mysqld section in /etc/mysql/my.cnf to innodb_file_per_table and recreated db from .sql dump. Well, now instead of ibdata1 growing 1gb/day I have history_uint.ibd doing the same... Also, I ran optimization scripts and tried to tweak mysql configuration. It did not help too.
Now, what to do next? How to find which host and which item consumes too much of disk space? Something like du *|sort -rn in unix?
BTW, today dump of database takes only 2.9 gb (as single .sql file) instead of 9.3 gb of everything in /var/lib/mysql. Is that normal?
My configuration is not that big...
Zabbix server is running Yes 10.1.0.25:10051
Number of hosts (monitored/not monitored/templates) 63 14 / 0 / 49
Number of items (monitored/disabled/not supported) 1504 1457 / 0 / 47
Number of triggers (enabled/disabled) [problem/ok] 492 485 / 7 [0 / 485]
Number of users (online) 4 1
Required server performance, new values per second 391.33 -
Now, what to do next? How to find which host and which item consumes too much of disk space? Something like du *|sort -rn in unix?
BTW, today dump of database takes only 2.9 gb (as single .sql file) instead of 9.3 gb of everything in /var/lib/mysql. Is that normal?
My configuration is not that big...
Zabbix server is running Yes 10.1.0.25:10051
Number of hosts (monitored/not monitored/templates) 63 14 / 0 / 49
Number of items (monitored/disabled/not supported) 1504 1457 / 0 / 47
Number of triggers (enabled/disabled) [problem/ok] 492 485 / 7 [0 / 485]
Number of users (online) 4 1
Required server performance, new values per second 391.33 -
Comment