telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

zabbix input plugin

Open ghost opened this issue 5 years ago • 9 comments

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

ghost avatar Mar 29 '19 10:03 ghost

Any updates on this request?

ghost avatar Jul 02 '19 14:07 ghost

An input plugin to get what?

adrianlzt avatar Oct 15 '19 20:10 adrianlzt

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.

ghost avatar Oct 16 '19 10:10 ghost

Interesting.

Another, more complex, way could be to use the postgres input plugin and create the appropriate query.

adrianlzt avatar Oct 16 '19 11:10 adrianlzt

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

ghost avatar Oct 16 '19 12:10 ghost

Another source of data to be queried: https://www.zabbix.com/documentation/4.0/manual/appendix/items/remote_stats

adrianlzt avatar Mar 20 '20 11:03 adrianlzt

Please , I am looking for the way to install telegraf agent to send info to zabbix, but I don´t get the way to do it. I have found this url, but I don´t find the way to use outputs.zabbix and aggregators.zabbix_lld. When I try to do it it gives me error.

I would appreciete any help you could give me,

Regards

kaisersosset avatar Apr 19 '21 15:04 kaisersosset

Hello Adrian, thanks for answering. Please can you tell me where can I find those branch? I am looking for it but I can´t find.

Sorry for wasting your time. I am new on this.

Regards!

Output plugin and aggregator are not yet merged upstream. You have to compile this branch to be able to use it. El lun., 19 abr. 2021 17:45, kaisersosset @.***> escribió: Please , I am looking for the way to install telegraf agent to send info to zabbix, but I don´t get the way to do it. I have found this url, but I don´t find the way to use outputs.zabbix and aggregators.zabbix_lld. When I try to do it it gives me error. I would appreciete any help you could give me, Regards — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5652 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYWPGCFNM6J7FGOB4UI5BLTJRFYJANCNFSM4HCINJGQ .

kaisersosset avatar Apr 20 '21 06:04 kaisersosset

Hi,

I have not seen many updates on this feature request or folks showing much interest in it. I am also not clear on what metrics would be important to end-users to justify a new plugin. While there does appear to be an API endpoint with some remote metrics, which of these are actually interesting or important?

Thanks!

powersj avatar Sep 20 '22 20:09 powersj

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

telegraf-tiger[bot] avatar Oct 05 '22 18:10 telegraf-tiger[bot]