2 Streaming to external systems
Overview
This feature currently has experimental status.
The tag filter can be used to stream subsets of item values or events.
Two Zabbix server processes are responsible for data streaming: and . A Zabbix internal item allows to monitor the count of values enqueued in the connector queue.
Configuration
The following steps are required to configure data streaming to an external system:
1. Have a remote system set up for receiving data from Zabbix.
2. Set the required number of connector workers in Zabbix (see StartConnectors in zabbix_server.conf). Restart the Zabbix server.
3. Configure a new connector in Zabbix (Administration -> General -> Connectors) and reload the server cache with “zabbix_server -R config_cache_reload”.
Mandatory fields are marked by an asterisk.
Protocol
Communication between the server and the receiver is done over HTTP using REST API, NDJSON, “Content-Type: application/x-ndjson”.
Server request
Example of sending item values:
Example of sending events:
Receiver response
The response consists of the HTTP response status code and the JSON payload. The HTTP response status code must be “200” for requests that were handled successfully, other for failed requests.
Example of success:
Example with errors: