Hi,
We have a zabbix 1.8.15 setup running and are planning to migrate to 2.x, but first we have to clean our database a bit to make the migration less painful. While checking the database, we found the following anomaly.
An item is configured as such:
Keep history (in days): 2
Keep trends (in days): 7
Here's the DELETE statement that Zabbix Housekeeper runs:
That clock timestamp converts to 2013-01-04, 08:08:13. The current date is 2013-01-09, 11:03:00.
That's a 5 day difference for the Housekeeper query, where it should actually delete all the data that is older than 2 days, not 5?
What causes this? Am I missing an obvious time-conversion here? Or is there possible a problem in the housekeeper cleanups?
We have the following config in our Zabbix Server:
Regards,
Mattias
We have a zabbix 1.8.15 setup running and are planning to migrate to 2.x, but first we have to clean our database a bit to make the migration less painful. While checking the database, we found the following anomaly.
An item is configured as such:
Keep history (in days): 2
Keep trends (in days): 7
Here's the DELETE statement that Zabbix Housekeeper runs:
Code:
mysql > delete from history_uint where itemid=54612 and clock<1357283293
That's a 5 day difference for the Housekeeper query, where it should actually delete all the data that is older than 2 days, not 5?
What causes this? Am I missing an obvious time-conversion here? Or is there possible a problem in the housekeeper cleanups?
We have the following config in our Zabbix Server:
Code:
# If set to 0 then no limit is used at all. MaxHousekeeperDelete=0 DisableHousekeeping=0
Mattias
Comment