Folks,
We've been using Zabbix for a while to monitor a bunch of systems in our network, but this is the first time we've ever needed to do an integration with MQTT, in this case for supporting Ignition SCADA.
I found the page at https://www.zabbix.com/integrations/mqtt for the official integration, but that doesn't seem to include any template files. I'm looking at the various third-party solutions shown at https://www.zabbix.com/integrations/mqtt#3rd_party but so far it doesn't look like any of them are designed for use with Zabbix 7, and they all seem to be pretty old. I'm digging through them anyway, to see if I can find anything of value.
I also looked here on the forums https://www.zabbix.com/forum/search?...A%22mqtt%22%7D and found some hits, but so far I'm not finding anything with any template files. I did find a couple of links on how to set up Zabbix via the web GUI to enable certain things (https://blog.zabbix.com/let-me-subsc...-topics/12710/ and https://medium.com/@flaviofranca/usi...r-6df748b8f93e), but I have not yet found anything with any template files.
I have updated the local agent.conf with things like this (example from https://medium.com/@flaviofranca/usi...6df748b8f93e):
However, I have not yet put any additional items into that configuration file.
It is not clear to me where we need to define things so that the local agent2 picks up the MQTT topics that we care about and makes them available to the Zabbix server, or how to surface those items in the Zabbix web GUI.
Surely there is some documentation or web page examples that show where and how to define these things from templat file, CLI commands, or via an API, and not just from the web GUI, right? But if so, then where do I find that? It's kind of hard to automate the management of the Zabbix system if you have to hand-jam in a bunch of stuff via the web GUI, so we try to do everything with predefined template files, CLI commands, API calls, etc.... I just can't figure out where I can find guidance like that for MQTT integration with Zabbix.
Any suggestions you may have would be greatly appreciated!
We've been using Zabbix for a while to monitor a bunch of systems in our network, but this is the first time we've ever needed to do an integration with MQTT, in this case for supporting Ignition SCADA.
I found the page at https://www.zabbix.com/integrations/mqtt for the official integration, but that doesn't seem to include any template files. I'm looking at the various third-party solutions shown at https://www.zabbix.com/integrations/mqtt#3rd_party but so far it doesn't look like any of them are designed for use with Zabbix 7, and they all seem to be pretty old. I'm digging through them anyway, to see if I can find anything of value.
I also looked here on the forums https://www.zabbix.com/forum/search?...A%22mqtt%22%7D and found some hits, but so far I'm not finding anything with any template files. I did find a couple of links on how to set up Zabbix via the web GUI to enable certain things (https://blog.zabbix.com/let-me-subsc...-topics/12710/ and https://medium.com/@flaviofranca/usi...r-6df748b8f93e), but I have not yet found anything with any template files.
I have updated the local agent.conf with things like this (example from https://medium.com/@flaviofranca/usi...6df748b8f93e):
Code:
Hostname=<my-host> Server= <IP Zabbix Server> ServerActive= <IP Zabbix Server> ##### PLUGINS #### Plugins.MQTTSubscribe.Timeout=5
It is not clear to me where we need to define things so that the local agent2 picks up the MQTT topics that we care about and makes them available to the Zabbix server, or how to surface those items in the Zabbix web GUI.
Surely there is some documentation or web page examples that show where and how to define these things from templat file, CLI commands, or via an API, and not just from the web GUI, right? But if so, then where do I find that? It's kind of hard to automate the management of the Zabbix system if you have to hand-jam in a bunch of stuff via the web GUI, so we try to do everything with predefined template files, CLI commands, API calls, etc.... I just can't figure out where I can find guidance like that for MQTT integration with Zabbix.
Any suggestions you may have would be greatly appreciated!
Comment