pyzabbix
Zabbix API Python interface
Decision gist · record as of 2026-08-14
Yes, with conditions. PyZabbix is a stable, low-friction library with no known vulnerabilities and solid community adoption. However, the last release was over 970 days ago and the project is marked as aging. If you need to integrate Python with Zabbix 4.0–6.4, it is a reliable choice; verify compatibility with your Zabbix version first, and monitor the repository for updates if you deploy to newer Zabbix releases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Zabbix server instance and valid credentials; tested against Zabbix 4.0 LTS, 5.0 LTS, 6.0 LTS, and 6.4.
- Low install friction; depends only on requests and packaging.
- Maintenance status is aging—last release was 2023-12-18, over 970 days ago, though the repository remains active with recent commits and moderate community engagement (983 stars).
License · maintenance · safety
LGPL (copyleft) — Licensed under LGPL 2.1 (copyleft). You may use and modify the package freely, but derivative works must also be distributed under LGPL 2.1; proprietary applications linking to this library should review copyleft obligations.
last release 2023-12-18 (970 days) · last repo commit 2025-09-04 · 983 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 620,623 downloads/mo, #5,725 on PyPI
Alternatives
Verify before relying
pip install pyzabbix
from pyzabbix import ZabbixAPI
zapi = ZabbixAPI("http://zabbixserver.example.com")
zapi.login("zabbix user", "zabbix pass")
print("Connected to Zabbix API Version %s" % zapi.api_version())
for h in zapi.host.get(output="extend"):
print(h['hostid'])- Whether the package is actively maintained or in maintenance-only mode given the 970-day gap since last release.
- Compatibility with Zabbix versions beyond 6.4.
- Performance characteristics when querying large datasets or high-frequency API calls.
What it is and what it does
PyZabbix is a Python wrapper around the Zabbix API that lets you query and manage Zabbix monitoring infrastructure programmatically. It handles HTTP communication, JSON-RPC formatting, and session management so you can focus on automation tasks. The package wraps the Zabbix API's method calls into Python objects—for example, `zapi.host.get()` translates to a Zabbix API call to retrieve hosts.
The library supports both username/password and API token authentication (Zabbix 5.4+), and exposes the underlying requests Session object so you can customize HTTP behavior—enabling SSL verification control, HTTP auth, timeouts, and custom headers. It's designed for administrators and developers building monitoring automation, reporting, or integration workflows with Zabbix.
Use it for
- Automate host and item discovery, creation, or updates across multiple Zabbix instances.
- Build monitoring dashboards or reports by querying historical data and events from Zabbix.
- Integrate Zabbix alerts with external systems (ticketing, messaging, incident management).
- Bulk-manage user accounts, host groups, or monitoring templates via script.
- Monitor Zabbix itself—query API version, server status, or configuration for compliance checks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
PyZabbix is a stable, low-friction library with no known vulnerabilities and solid community adoption. However, the last release was over 970 days ago and the project is marked as aging. If you need to integrate Python with Zabbix 4.0–6.4, it is a reliable choice; verify compatibility with your Zabbix version first, and monitor the repository for updates if you deploy to newer Zabbix releases.
Install
pyzabbix on PyPI
Before you install
Low install friction; depends only on requests and packaging. Maintenance status is aging—last release was 2023-12-18, over 970 days ago, though the repository remains active with recent commits and moderate community engagement (983 stars).
Requires a running Zabbix server instance and valid credentials; tested against Zabbix 4.0 LTS, 5.0 LTS, 6.0 LTS, and 6.4.
License in practice
Licensed under LGPL 2.1 (copyleft). You may use and modify the package freely, but derivative works must also be distributed under LGPL 2.1; proprietary applications linking to this library should review copyleft obligations.
Quickstart
pip install pyzabbix
from pyzabbix import ZabbixAPI
zapi = ZabbixAPI("http://zabbixserver.example.com")
zapi.login("zabbix user", "zabbix pass")
print("Connected to Zabbix API Version %s" % zapi.api_version())
for h in zapi.host.get(output="extend"):
print(h['hostid'])
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode given the 970-day gap since last release.
- Compatibility with Zabbix versions beyond 6.4.
- Performance characteristics when querying large datasets or high-frequency API calls.
Package facts
| License | LGPL copyleft |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestspackaging |
| Maintenance | Aging 970 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 620,623 / month, #5,725 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: MonitoringTopic :: System :: Networking :: MonitoringTopic :: System :: Systems Administration |
Evidence: pyzabbix-1.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zabbix monitoring automation”
- pyzabbixPyZabbix provides a Python interface to the Zabbix API, enabling…
- zabbix-apiProvides a Python client library for interacting with the Zabbix…
- zabbix-utilsProvides Python bindings for Zabbix API, sender, and get protocols to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also py-zabbix · zabbix-api · zabbix-utils · google-analytics-admin · lazr.restfulclient · google-cloud-monitoring-dashboards · google-cloud-monitoring · kanboard · mux-python · zulip