I am using zabbix 1.8.5 with Mysql to monitor over 150 servers.
Currently I am facing two problems.
First problem is housekeeping : I setup housekeeping on web interface.
I set action not keep older than 30 days and event more than 180 days.
But still database is growing. Currently DB size is 80 GB.
Even I tried deleting history table form webinterface / Items / clear history for selected . still it didn’t relize any size on my DB.
I was wondering if there is any script to clear history table on mysql.
Second problem is dumping mysql for backup. I tried to use mysqldump command to get backup form mysql. Dump fails every time after copying 4 GB data.
Nothing in log file. I think it seems MySQL DB is corrupted.
do you have any idea?
Thank you in advanced for helping me.
Much appreciated.
Arash
Currently I am facing two problems.
First problem is housekeeping : I setup housekeeping on web interface.
I set action not keep older than 30 days and event more than 180 days.
But still database is growing. Currently DB size is 80 GB.
Even I tried deleting history table form webinterface / Items / clear history for selected . still it didn’t relize any size on my DB.
I was wondering if there is any script to clear history table on mysql.
Second problem is dumping mysql for backup. I tried to use mysqldump command to get backup form mysql. Dump fails every time after copying 4 GB data.
Nothing in log file. I think it seems MySQL DB is corrupted.
do you have any idea?
Thank you in advanced for helping me.
Much appreciated.
Arash
Comment