If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
3.2 has introduced callback functions for storing historical data. It's not documented, but examples are available in dummy module: https://github.com/zabbix/zabbix/blo...y/dummy.c#L201
Use these callback functions and send data to your Kafka.
This sounds like you could already do it as a Zabbix module. There is a reference module how to write to InfluxDB same time as writing to SQL. So change InfluxDB API to some KAFKA method..
This sounds like you could already do it as a Zabbix module. There is a reference module how to write to InfluxDB same time as writing to SQL. So change InfluxDB API to some KAFKA method..
Could you show the reference link to this influxdb module?
Sorry, I got it as a source package from Zabbix for commercial evaluation so I cannot share it.
But about the code, it is dead straightforward. To replicate take the example dummy-module and add Influx HTTP-calls to data callbacks (dummy_history_float_cb etc) with HTTP library CURL. Of course you need some CURL init & sanity checks on the way. Influx measurement stored is same format SQL history-tables (itemid = tag and clock and value).
With Kafka I'd say that take f.ex Kafka library librdkafka and create new plugin and share for community to improve... Or purchase development of this from Zabbix..
Comment