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.
"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.
Comment