Zabbix
Official documentation: Zabbix API docs
Authentication
Zabbix uses API key authentication.
- Go to the Connections page and create a New Connection
- Select Zabbix from the Connector dropdown
- Enter a Connection name
- 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.
- 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
}
Copy the result string of the request above (this is your API token)
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.