Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible for history.get() to return Python dictionary with year/month/day/hour/minute/second? #232

Open
snowuyl opened this issue Dec 25, 2024 · 0 comments

Comments

@snowuyl
Copy link

snowuyl commented Dec 25, 2024

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'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant