I use pyzabbix history.get() to get history data of Zabbix item. history.get() returns Python dictionary with key clock. Is it possible for history.get() to return Python dictionary with year/month/day/hour/minute/second?
zbx_api.history.get(itemids=item_id,
history=int(value_type.value),
time_from=int(timestamp_from),
time_till = int(timestamp_till),
output = "extend",
limit=100000
h: {'itemid': '48355', 'clock': '1734935535', 'value': '31', 'ns': '994973711'}
I use pyzabbix history.get() to get history data of Zabbix item. history.get() returns Python dictionary with key clock. Is it possible for history.get() to return Python dictionary with year/month/day/hour/minute/second?
zbx_api.history.get(itemids=item_id,
history=int(value_type.value),
time_from=int(timestamp_from),
time_till = int(timestamp_till),
output = "extend",
limit=100000
h: {'itemid': '48355', 'clock': '1734935535', 'value': '31', 'ns': '994973711'}