Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


pyzabbix is a python module for working with the Zabbix API.

The Zabbix API is a web based API and is shipped as part of the web frontend. It uses the JSON-RPC 2.0 protocol which means two things:

  • The API consists of a set of separate methods,like "user.login","item.create",etc.
  • Requests and responses between the clients and the API are encoded using the JSON format.

There are some examples using this method:

[root@test Zabbix-PyZabbix]# python -h
Usage: [options]

  -h, --help            show this help message and exit
  -s SERVER, --server=SERVER
                        (REQUIRED)Zabbix Server URL.
  -u USERNAME, --username=USERNAME
                        (REQUIRED)Username (Will prompt if not given).
  -p PASSWORD, --password=PASSWORD
                        (REQUIRED)Password (Will prompt if not given).
  -H HOSTNAME, --hostname=HOSTNAME
                        (REQUIRED)hostname for hosts.
  -f FILE, --file=FILE  Load values from input file. Specify - for standard
                        input Each line of file contains whitespace delimited:
You can’t perform that action at this time.