Ad Widget

Collapse

Problem with housekeeper and zabbix 1.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hubertf
    Junior Member
    • Jun 2007
    • 5

    #1

    Problem with housekeeper and zabbix 1.4

    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
    Code:
     In delete_history(history_str,30064788203,1181744083,8
    )
    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...

    Code:
    zabbix_log( LOG_LEVEL_DEBUG, "In delete_history(%s," ZBX_FS_UI64 ",%d,%d)",
    		table,
    		itemid,
    		keep_history,
    		now);
    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?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I don't believe that fixing of the debug printing may affect the functionality of the function in any way. Thanks for reporting anyway, fixed.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • hubertf
      Junior Member
      • Jun 2007
      • 5

      #3
      I haven't seen anything on 1.4.1 svn branch. I hope the fix will be in 1.4.1

      Comment

      Working...