Hi Community,
I have tens of IoT devices publishing data to one MQTT broker. Devices are different by model, payload data, trigger thresholds... so they need to be created as hosts in Zabbix.
For now I can see only two options to provide data transition to hosts items:
But if there will be any scalable way to realise multiple Zabbix Agent hostnames (for example, with pattern in conf) on one Zabbix Agent I'll defenetely prefer to move to simple option 2.
I have tens of IoT devices publishing data to one MQTT broker. Devices are different by model, payload data, trigger thresholds... so they need to be created as hosts in Zabbix.
For now I can see only two options to provide data transition to hosts items:
- Use of external converter that catches MQTT messages and sends data with zabbix_sender to specific host trapper items. The problem is that this option is not simple to make and maintain.
- Use of mqtt.get with zabbix_agent2. The problem is every host name have to be pointed on 'Hostname' parameter in zabbix_agent2.conf. More devices, more comma separated values. Restart agent on any addition/deletion of device. So this option is non-scalable.
But if there will be any scalable way to realise multiple Zabbix Agent hostnames (for example, with pattern in conf) on one Zabbix Agent I'll defenetely prefer to move to simple option 2.
Comment