It would be very useful to have an input plugin for Zabbix directly in Telegraf.
link to official docs of Zabbix API -> https://www.zabbix.com/documentation/3.4/manual/api
At the moment for Zabbix2Influx integration there are some custom solutions mentioned here: https://www.zabbix.com/integrations/influxdb
Any updates on this request?
An input plugin to get what?
zabbix input plugin would get metrics via api from zabbix. in zabbix you have metrics metadata in items table and effective monitoring data in history tables.
Interesting.
Another, more complex, way could be to use the postgres input plugin and create the appropriate query.
Yes, this could be a solution. But you are supposing that postgres is the backend DB; in effect you can choose mysql or elasticsearch too.
With a telegraf input plugin directly to zabbix api you are decoupling the tecnologies
Another source of data to be queried: https://www.zabbix.com/documentation/4.0/manual/appendix/items/remote_stats
Most helpful comment
Yes, this could be a solution. But you are supposing that postgres is the backend DB; in effect you can choose mysql or elasticsearch too.
With a telegraf input plugin directly to zabbix api you are decoupling the tecnologies