zabbix-utils
A library with modules for working with Zabbix (Zabbix API, Zabbix sender, Zabbix get)
What it is and what it does
zabbix_utils is a Python library for integrating with Zabbix monitoring infrastructure. It provides three main interfaces: a ZabbixAPI client for querying and configuring Zabbix via its HTTP API (supporting both synchronous and asynchronous I/O), a Sender for pushing item values to Zabbix servers or proxies, and a Getter for retrieving metrics directly from Zabbix agents. The library handles authentication via username/password or API tokens, supports version comparison, and can route data to multiple Zabbix clusters.
The package has no required runtime dependencies for basic use; aiohttp is optional and only needed for asynchronous operations. It supports Python 3.8 through 3.13 and is tested against Zabbix versions 6.0, 7.0, 7.2, and 7.4. The library is maintained by the Zabbix project itself and carries production-stable status, making it suitable for operational monitoring scripts and integrations.
Use it for:
- Automate Zabbix configuration tasks like importing templates or querying user lists via the API.
- Send custom application metrics to Zabbix for centralized monitoring of non-standard data sources.
- Query Zabbix agents directly to retrieve system metrics without going through the Zabbix server.
- Build async monitoring dashboards or data pipelines that pull metrics from multiple Zabbix clusters.
- Integrate Zabbix data into Python-based alerting or reporting workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings for Zabbix API, sender, and get protocols to query monitoring data, send item values, and retrieve agent metrics from Zabbix servers.
Yes. The package is production-stable, maintained by Zabbix, has no required dependencies, and offers a clean API for all three Zabbix integration patterns (API, sender, getter). Install it if you need to automate Zabbix tasks or integrate Zabbix data into Python applications. The aging maintenance status reflects normal release cadence rather than abandonment.
Install
zabbix-utils on PyPI
pip
pip install zabbix-utilsuv
uv add zabbix-utilspoetry
poetry add zabbix-utilsInstalling zabbix-utils
Before you install
Low friction installation with no required runtime dependencies; optional aiohttp for async support. Aging maintenance status with last commit 2025-12-17, but repository remains active and production-stable.
License in practice
MIT license (permissive) allows use in commercial and private projects with minimal restrictions.
Quickstart
pip install zabbix_utils
from zabbix_utils import ZabbixAPI
api = ZabbixAPI(url="127.0.0.1")
api.login(token="your_token")
users = api.user.get(output=['userid','name'])
api.logout()
Requires Zabbix 6.0+ server; Python 3.8+ required.
Verify before relying
- Whether async support via aiohttp is automatically installed or requires explicit [async] extra.
- Performance characteristics when querying large datasets from Zabbix API.
- Compatibility with Zabbix versions newer than 7.4.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 240 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 297,399/month — #7,884 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zabbix_utils-2.0.4-py3-none-any.whl
Keywords: monitoring, zabbix, api, sender, get, utils, tools
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-apiProvides a Python client library for…
copyleft · top 15,000 on PyPI
py-zabbixProvides Python bindings to query and interact…
copyleft · top 15,000 on PyPI
uptime-kuma-api-v2Provides a Python client for the Uptime Kuma…
permissive · top 15,000 on PyPI
graphytegraphyte sends metrics to a Graphite/Carbon…
permissive · top 15,000 on PyPI
uptime-kuma-apiA Python wrapper for the Uptime Kuma Socket.IO…
permissive · top 5,000 on PyPI
questdbA Python client library for QuestDB that sends…
permissive · top 15,000 on PyPI
utilsProvides a collection of utility functions and…
copyleft · top 15,000 on PyPI
aiohttp_socksProvides a proxy connector for aiohttp that…
permissive · top 5,000 on PyPI
aioairzoneAn async Python library for controlling and…
permissive · top 15,000 on PyPI