hi.
i haven been working on getting zabbix 7. and Agent2 to work with the mosquitto broker.
we use piece off software called openwebrx+ to feed the mqtt broker.
this works after some messing around with ipadresses, hostname . but it works .
i can read the topics and need to do some more data processing to get something usefull out of the data.
so now i though why not also monitor the broker....
i found after some searching a template and together what is learned sofar about zabbix and MQTT , i imported the template, and it does not work.
this is the template by the way => https://github.com/corgan2222/zbx_te...readme-ov-file
i found that the $SYS does not seem t work with the agent.
i tested the command on the with the following (added single ' ' ) to "isolated" the $
mosquitto_sub -d -t '$SYS/broker/clients/active'
doeing the same on the zabbix item does not seem to work. =>
i can see the $SYS topic when connecting to the broker with mqtt explorer.
#help ;-)
Joost.
i haven been working on getting zabbix 7. and Agent2 to work with the mosquitto broker.
we use piece off software called openwebrx+ to feed the mqtt broker.
this works after some messing around with ipadresses, hostname . but it works .
i can read the topics and need to do some more data processing to get something usefull out of the data.
so now i though why not also monitor the broker....
i found after some searching a template and together what is learned sofar about zabbix and MQTT , i imported the template, and it does not work.
this is the template by the way => https://github.com/corgan2222/zbx_te...readme-ov-file
i found that the $SYS does not seem t work with the agent.
i tested the command on the with the following (added single ' ' ) to "isolated" the $
mosquitto_sub -d -t '$SYS/broker/clients/active'
doeing the same on the zabbix item does not seem to work. =>
| mqtt.get[{$MQTTBROKER},'$SYS/broker/clients/active'] |
i can see the $SYS topic when connecting to the broker with mqtt explorer.
#help ;-)
Joost.
Comment