Ad Widget

Collapse

Issue with zabbix history table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akbar415
    Senior Member
    • May 2015
    • 119

    #1

    Issue with zabbix history table

    As doc's https://www.zabbix.com/documentation...ory_and_trends say history must keep at last n days of each collected data

    I have been trying to use a mysql query to get an specific data but it's gathering less than a month of data. Something like 33000 rows. This is th e query:

    Code:
    SELECT * /* h.itemid, from_unixtime(h.clock), h.value */
    
    from history_uint h Join items i ON h.itemid = i.itemid 
    
    where h.itemid = 43390
    
    order by h.clock ASC;
    In my zabbix config I have this:

    Click image for larger version

Name:	history_Config.PNG
Views:	1
Size:	3.5 KB
ID:	317807

    But the in query result the oldest data is from 21 November
    Click image for larger version

Name:	query_result.PNG
Views:	1
Size:	17.9 KB
ID:	317808


    But using API I can get the data fine from 4 months.

    PS: 1479736538 = Mon, 21 Nov 2016 13:55:38 GMT
Working...