Ad Widget

Collapse

BUG: Trends consolidation 30mns or 1 hour ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dakol
    Member
    • Jan 2008
    • 50

    #1

    BUG: Trends consolidation 30mns or 1 hour ?

    In the documentation "Zabbix Manual v1.6", i read:

    "zabbix keeps 30 minutes max/min/avg/count stats for each item in table trends"

    but in the code:
    src/libs/zbxdbhigh/db.c DBadd_trend :
    ------------
    hour=clock-clock%3600;

    result = DBselect("select num,value_min,value_avg,value_max from trends where itemid=" ZBX_FS_UI64 " and clock=%d",
    itemid,
    hour);
    ------------

    which seems to be a 1 hour consolidation.

    So i looked in the database and it confirms the 1 hour period.
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    I think it's should be 1 hour, but Alexei better confirm this
    Zabbix | ex GUI developer

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Yes, the consolidation period is one hour. The manual will be fixed.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...