Getting History From Zabbix With Python Api
i have one question about getting history from zabbix with python. I'm only start learn python, so please don't dislike) so, i have little script python, who get the host, who sho
Solution 1:
In time_from
and time_till
parameters, try using a Unix timestamp, like so:
>>> history = zapi.history.get({"itemids":"23297", "time_from":"1412370600", "time_till":"1412370601", "output":"extend" })
>>> print history
Solution 2:
history=zapi.history.get(hostids=['10333'],itemids=
[56411],time_from=1489420800,time_till=1489562140)
Post a Comment for "Getting History From Zabbix With Python Api"