Skip to main content

zabbix-client

zabbix-client is a Zabbix API wrapper written in Python. It works on Python 2.6+ and 3.2+.

Zabbix API

Zabbix API was introduced in Zabbix 1.8 and allows you to create, update and fetch Zabbix objects (like hosts, items, graphs and others) through the JSON-RPC 2.0 protocol.

Zabbix API documentation:

JSON-RPC documentation:

zabbix-client supports all Zabbix versions including the JSON-RPC API, starting with Zabbix 1.8.

Usage

Calling a method that does not require authentication:

>>> from zabbix_client import ZabbixServerProxy
>>> s = ZabbixServerProxy('http://localhost/zabbix')
>>> s.apiinfo.version()
'2.0.12'

Calling a method that requires previous authentication:

>>> from zabbix_client import ZabbixServerProxy
>>> s = ZabbixServerProxy('http://localhost/zabbix')
>>> s.user.login(user='Admin', password='zabbix')
'44cfb35933e3e75ef51988845ab15e8b'
>>> s.host.get(output=['hostid', 'host'])
[{'host': 'Zabbix server', 'hostid': '10084'},
    {'host': 'Test', 'hostid': '10085'}]
>>> s.user.logout()
True

License

Licensed under the Apache License.

Metadata

Release files for zabbix-client 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zabbix-client 0.1.2
File Size Uploaded Provenance
zabbix-client-0.1.2.tar.gz 5.6 kB Without provenance Details

Release files / zabbix-client-0.1.2.tar.gz

Download URL zabbix-client-0.1.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e3807177b7d1c2d4c3653160dbf5e3535beb2b8f61cced31948ccc1051b4850
BLAKE2b-256 checksum
How to use checksums
28794e69bdc5471b5d8560a6f8de89971319535af9268cbe57b6afda6aafd944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/35.0.2 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.7

Security for zabbix-client 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page