Skip to main content

Zabbix Python API Module

Project description

Zabbix

Zabbix - Python API Module

Documentation

Getting Started

Install zabbi using pip:

$ pip install zabbi

You can now import and use zabbi like so:

from zabbi import ZabbixAPI

zapi = ZabbixAPI("http://zabbixserver.example.com/zabbix")
zapi.login("zabbix user", "zabbix pass")
print("Zabbix API Version %s using zabbi " % zapi.api_version())

All zabbix api requests can be made as defined in Zabbix API Documentation

The features added in zabbi are :

  • Using host.get you can get all results for a host ( including hostInterface results )
  • Now you can get host.get info by name also ( host.get with param host="example")
  • Now you can get info for host by ip also ( hostinterface with param ip="0.0.0.0" ) Also the info would be returned for multiple hosts if there are with same ip or name*

Project details


Download files

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

Files for zabbi, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size zabbi-0.3-py3-none-any.whl (16.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size zabbi-0.3.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page