Hi,
I'am running Zabbix 5.4 and ZabbixAgent2. I use it to monitor many MQTT devices into my network, for doing this, I have agent installed on one server (Debian 11) and I will check all my MQTT devices througt the MQTT brocker using mqtt.get["tcp://192.168.1.75:1883","tele/shelly1-Mansarda/STATE"]
So in Zabbix Server Config, I have 1 host for the server that run Agent, and one Host for each MQTT devices.
This works, but I need to edit zabbix_agent2.conf each time I add and remove a Host from configuration, this because mqtt.get is an active check and works only if Hostname parameter is set into zabbix_agent2.conf. This way is very hard to mantain, so I would like to make ZabbixAgent2 to accept any host for active check.
Is this possible?
Many Thanks
I'am running Zabbix 5.4 and ZabbixAgent2. I use it to monitor many MQTT devices into my network, for doing this, I have agent installed on one server (Debian 11) and I will check all my MQTT devices througt the MQTT brocker using mqtt.get["tcp://192.168.1.75:1883","tele/shelly1-Mansarda/STATE"]
So in Zabbix Server Config, I have 1 host for the server that run Agent, and one Host for each MQTT devices.
This works, but I need to edit zabbix_agent2.conf each time I add and remove a Host from configuration, this because mqtt.get is an active check and works only if Hostname parameter is set into zabbix_agent2.conf. This way is very hard to mantain, so I would like to make ZabbixAgent2 to accept any host for active check.
Is this possible?
Many Thanks
Comment