This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

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.

Changes

0.1.1 (2015-09-19)

  • Fix exception handling.

0.1.0 (2014-08-10)

  • Initial release.
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
zabbix-client-0.1.1.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Sep 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting