i found that my history_uint table grows day by day without any reasons for this. Housekeeper is working, global option for history item store is 7 days, but there is much older data.
curent system date
I checked value type and is 4. 4 is text, why then its history is in history_uint table?
Housekeeper options and zabbix version.
Is this a known problem?
Code:
select *,from_unixtime(clock) from history_uint where from_unixtime(clock) < '2017-12-27 12:21:13' limit 10; +--------+------------+-------+-----------+----------------------+ | itemid | clock | value | ns | from_unixtime(clock) | +--------+------------+-------+-----------+----------------------+ | 27373 | 1511774473 | 1 | 268955582 | 2017-11-27 12:21:13 | | 27373 | 1511774503 | 1 | 800288560 | 2017-11-27 12:21:43 | | 27373 | 1511774533 | 1 | 505862683 | 2017-11-27 12:22:13 | | 27373 | 1511774563 | 1 | 529794027 | 2017-11-27 12:22:43 | | 27373 | 1511774593 | 1 | 314871869 | 2017-11-27 12:23:13 | | 27373 | 1511774623 | 1 | 520640020 | 2017-11-27 12:23:43 | | 27373 | 1511774653 | 1 | 733799533 | 2017-11-27 12:24:13 | | 27373 | 1511774683 | 1 | 71274059 | 2017-11-27 12:24:43 | | 27373 | 1511774713 | 1 | 966276693 | 2017-11-27 12:25:13 | | 27373 | 1511774743 | 1 | 722119137 | 2017-11-27 12:25:43 | +--------+------------+-------+-----------+----------------------+
Code:
# date Thu Jun 28 11:30:38 MSK 2018
Code:
select history, value_type from items where itemid = 27373; +---------+------------+ | history | [B]value_type[/B] | +---------+------------+ | 7 | [B] 4[/B] | +---------+------------+
I checked value type and is 4. 4 is text, why then its history is in history_uint table?
Housekeeper options and zabbix version.
Code:
# grep House /etc/zabbix/zabbix_server.conf ### Option: HousekeepingFrequency # Housekeeping is removing outdated information from the database. # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option. HousekeepingFrequency=12 ### Option: MaxHousekeeperDelete # No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value]) MaxHousekeeperDelete=0 # zabbix_server --version zabbix_server (Zabbix) 3.0.9

Comment