zabbix-api
Zabbix API
What it is and what it does
zabbix-api is a Python wrapper around the Zabbix API that lets you query and manage Zabbix monitoring infrastructure programmatically. It handles authentication and provides object-oriented access to Zabbix resources like triggers, hosts, and events without requiring direct HTTP calls.
The package has no external runtime dependencies, making it lightweight to install. However, it is dormant—the last commit was in March 2024 and the last release in May 2023. While marked Production/Stable and still downloaded regularly, the lack of recent activity means it may not support newer Zabbix versions or modern Python features. It is licensed under GNU LGPL 2.1, a copyleft license that requires derivative works to remain open-source.
Use it for:
- Automate trigger and alert management in Zabbix monitoring systems without manual API calls.
- Build custom dashboards or reporting tools that pull data directly from a Zabbix server.
- Integrate Zabbix monitoring into larger infrastructure automation or DevOps workflows.
- Query host and event data from Zabbix for compliance auditing or historical analysis.
- Programmatically configure or update Zabbix resources as part of infrastructure-as-code pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for interacting with the Zabbix monitoring API, enabling programmatic access to Zabbix server functionality.
Yes, if you are working with Zabbix versions 1.8 through 3.2 and need a lightweight Python API client. The package is stable and has no known vulnerabilities, but verify compatibility with your Zabbix version first—dormancy since mid-2023 means newer versions may not be supported. The copyleft license is suitable for internal use but requires care if you plan to redistribute.
Install
zabbix-api on PyPI
pip
pip install zabbix-apiuv
uv add zabbix-apipoetry
poetry add zabbix-apiInstalling zabbix-api
Before you install
High install friction due to lack of dependencies; package is dormant (last commit 2024-03-26, no release since 2023-05-04), though marked Production/Stable and still receives modest downloads.
License in practice
Licensed under GNU LGPL 2.1 (copyleft), which requires derivative works to remain open-source and disclose license terms; acceptable for internal tools but constrains commercial redistribution.
Quickstart
pip install zabbix-api
from zabbix_api import ZabbixAPI
zapi = ZabbixAPI(server="https://server/")
zapi.login("login", "password")
zapi.trigger.get({"expandExpression": "extend", "triggerids": range(0, 100)})
Verify before relying
- Whether the package works reliably with Zabbix versions released after 3.2 (description states future versions should be supported if no deep changes occur, but no recent testing evidence)
- Current compatibility with modern Python 3.x versions (package supports Python 2 and 3 but no minimum version specified)
Package facts
| License | GNU LGPL 2.1 (copyleft) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 1,198 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,219/month — #14,645 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zabbix-api-0.5.6.tar.gz
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
pyzabbixPyZabbix provides a Python interface to the…
copyleft · top 15,000 on PyPI
zabbix-utilsProvides Python bindings for Zabbix API,…
permissive · top 15,000 on PyPI
py-zabbixProvides Python bindings to query and interact…
copyleft · top 15,000 on PyPI
google_apiProvides a Python wrapper for interacting with…
permissive · top 5,000 on PyPI
zephyr-python-apiProvides Python wrappers for the Zephyr Scale…
permissive · top 15,000 on PyPI
wapi-pythonA Python client library for accessing Volue…
unclear · top 15,000 on PyPI
scrapinghubA Python client library for communicating with…
permissive · top 15,000 on PyPI
googleadsClient library for interacting with Google Ad…
permissive · top 5,000 on PyPI
python-gerrit-apiProvides a Python client library for…
permissive · top 15,000 on PyPI
bioblendBioBlend provides a Python client library for…
permissive · top 15,000 on PyPI