I've installed zabbix 2 weeks ago... on a postgresql database... and i've some items with only 7 days history retention. I've seen that no line where delete from the history table (it's now 2Gb big)
I've run the server in Debug Log mode and i see strange things in the log when the housekeeper run
the 2nd number should be the itemid... but there's no itemid with this high number...
Quick look in housekeeper.c
and i see that the ZBX_FS_UI64 is used for itemid...
if i replace ZBX_FS_UI64 by "%d" in for itemid... in housekeeper all is working correctly, and my old history items are deleted correctly
is it a bug?
I've run the server in Debug Log mode and i see strange things in the log when the housekeeper run
Code:
In delete_history(history_str,30064788203,1181744083,8 )
Quick look in housekeeper.c
and i see that the ZBX_FS_UI64 is used for itemid...
Code:
zabbix_log( LOG_LEVEL_DEBUG, "In delete_history(%s," ZBX_FS_UI64 ",%d,%d)", table, itemid, keep_history, now);
is it a bug?
Comment