Ad Widget

Collapse

Zabbix API history.get is not returning all data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JOAOPBLUME
    Junior Member
    • Jul 2023
    • 5

    #1

    Zabbix API history.get is not returning all data

    Hello, I'm using zabbix api v4.4.
    Even though my housekeeping is 90d and I'm able to see data from "latest data" until 3 months ago, my oldest item clock is Wednesday, June 28, 2023 10:37:30 PM, just 7 days... I noticed that other items have other retention; Some I could retrieve 30d in the past, others 7.

    I've tried this kind of job getting these data directly from MySQL before, but the same behavior made me change to API (which upset me). Unfortunately I couldn't identify what is going on by my google researches, and I would appreciate your help if possible.

    I'm perhaps missing something? Is this the right endpoint? Or there is an explanation and maybe a workaround?

    Thanks in advance,

    João.
    Click image for larger version

Name:	image.png
Views:	466
Size:	43.5 KB
ID:	466925Click image for larger version

Name:	image.png
Views:	431
Size:	37.1 KB
ID:	466926Click image for larger version

Name:	image.png
Views:	419
Size:	52.7 KB
ID:	466927​​
    ​​
  • JOAOPBLUME
    Junior Member
    • Jul 2023
    • 5

    #2
    I found the problem, every item has its own housekeeping:
    Click image for larger version

Name:	image.png
Views:	415
Size:	12.1 KB
ID:	466947

    Comment

    Working...