Zabbix API
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install zabbix-apiThis is an implementation of the Zabbix API in Python. Please note that the Zabbix API is still in a draft state, and subject to change.
Implementations of the Zabbix API in other languages may be found on the wiki.
Zabbix 1.8, 2.0, 2.2, 2.4, 3.0 and 3.2 are supported. Python 2 and 3 are supported.
Future versions must be supported too, if there is no deep changes.
Installation:
# pip install zabbix-api
Short example:
>>> from zabbix_api import ZabbixAPI
>>> zapi = ZabbixAPI(server="https://server/")
>>> zapi.login("login", "password")
>>> zapi.trigger.get({"expandExpression": "extend", "triggerids": range(0, 100)})
See also: