Skip to content

Collecting events from Zabbix

Info

This option is available from version v23.09 onwards.

TeskaLabs LogMan.io Collector can collect events from Zabbix through Zabbix API. The Zabbix input collects both history (first making calls to hosts and items) and events:

https://www.zabbix.com/documentation/2.4/en/manual/api/reference/event/get

https://www.zabbix.com/documentation/current/en/manual/api/reference/history/get

LogMan.io Collector Input setup

The input named input:Zabbix: needs to be provided in the LogMan.io Collector YAML configuration:

input:Zabbix:Zabbix:
  url: <ZABBIX_API_URL>
  auth: <AUTH>
  encoding:  # optional: encoding of the Zabbix API request (default: utf-8)
  sleep:  # optional: sleep in seconds between idividual requests to API, higher value means less requests, but bigger CPU load on Zabbix servers (default: 60)
  refresh:  # optional: refresh of host and items/new metrics in seconds (default: 900)
  max_requests:  # optional: maximum requests made AT ONCE to the Zabbox API (default: 100)
  output: <OUTPUT>
  • <ZABBIX_API_URL> is a url to Zabbix API, usually https://<ZABBIX>/api_jsonrpc.php
  • <AUTH> is the Zabbix API authorization token
  • <OUTPUT> is the ID of the desired output within the LogMan.io Collector YAML configuration