--- id: py-zabbix version: "1.1.7" license: unclear license_treatment: copyleft maintenance: dormant --- # py-zabbix — Python module to work with zabbix. License: copyleft · Maintenance: dormant · Downloads: 75.7K/mo ## What it is and what it does py-zabbix is a Python client library for the Zabbix monitoring platform. It wraps Zabbix's JSON-RPC API to let you query monitored hosts, retrieve metrics, and manage Zabbix objects programmatically. It also provides a ZabbixSender class to push custom metrics into Zabbix trappers for real-time data ingestion. The library is straightforward to use: instantiate a ZabbixAPI object with server credentials, then call methods like host.get() to retrieve data or use ZabbixSender to submit metrics. It supports context managers for automatic logout and includes logging that redacts passwords from debug output. However, the project is dormant—the last release was in April 2020 and the repository has not been actively maintained since late 2023, so compatibility with recent Zabbix versions and modern Python environments is uncertain. Use it for: - Query monitored hosts and retrieve their status, metrics, and configuration from a Zabbix server. - Send custom application metrics to Zabbix trappers for centralized monitoring and alerting. - Automate Zabbix administration tasks like bulk host lookups or metric collection in Python scripts. - Integrate Zabbix monitoring data into Python-based dashboards or reporting tools. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to query and interact with Zabbix monitoring servers via their JSON-RPC API, and send metrics to Zabbix trappers. Yes, if you are actively using Zabbix and need a Python API client and your Zabbix server version is compatible with the library's last release (April 2020). The package has no dependencies, installs easily, and works for basic API queries and metric sending. However, be aware that maintenance is dormant—test thoroughly in your environment before relying on it in production, and consider whether a more recently maintained fork or alternative exists if you need support for newer Zabbix versions. ## Install pip install py-zabbix uv add py-zabbix poetry add py-zabbix ## Installing py-zabbix Before you install: Low install friction with no runtime dependencies. Maintenance is dormant: last release was 2020-04-29 and the repository has not been updated since 2023-11-09, so expect no active bug fixes or feature development. License in practice: Licensed under GPLv2 (copyleft). Any code that links this library must be distributed under compatible terms; proprietary or closed-source projects should review licensing obligations carefully. Quickstart: pip install py-zabbix from pyzabbix.api import ZabbixAPI zapi = ZabbixAPI(url='https://localhost/zabbix/', user='Admin', password='zabbix') result = zapi.host.get(monitored_hosts=1, output='extend') zapi.user.logout() Requires a running Zabbix server accessible at the specified URL with valid credentials. Verify before relying: - Whether the package works with current Zabbix server versions (last release was 2020-04-29). - Python version compatibility beyond the classifiers (Python 2 and 3 listed, but Python 2 is EOL). - Whether SSL/TLS certificate validation is configurable for HTTPS connections. ## Package facts - License: not declared (copyleft) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 75.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags zabbix api python client, zabbix monitoring integration, send metrics to zabbix, zabbix host query, zabbix trapper sender, zabbix json-rpc python, zabbix-integration, monitoring-client [View on SkillFed](https://skillfed.io/packages/py-zabbix) · [View on PyPI](https://pypi.org/project/py-zabbix/)