Zabbix

Official documentation: Zabbix API docs

Authentication

Zabbix uses API key authentication.

  1. Go to the Connections page and create a New Connection
  2. Select Zabbix from the Connector dropdown
  3. Enter a Connection name
  4. Fill in the following credentials:
Field Required
Host Url ✅
Api Token ✅

In order to start using the hibase connector to the Zabbix API (v1), you need to fetch an API token for your account and provide the Base URL for your installation.

  1. Issue a POST request to your Zabbix API as follows (fill Base URL, username and password with valid values):
POST [Base URL]/api_jsonrpc.php
  {
    "jsonrpc": "2.0",
    "method": "user.login",
    "params": {
      "user": [username],
      "password": [password]
    },
    "id": 1,
    "auth": null
  }
  1. Copy the result string of the request above (this is your API token)

  2. In hibase, provide the API Token you just copied when adding the Zabbix API connector

Endpoints

Raw Query (API docs)

Execute a raw Zabbix JSON-RPC API method call.

Parameter Description Required
method The Zabbix API method to call (e.g. host.get, item.get, history.get, trigger.get). ✅
params JSON-encoded parameters object for the API method. ✅

Returned Data: All fields from the API response are automatically flattened into columns.