Notify when a zigbee device is offline

I see no way to get a similar warning with mosquitto broker. can anyone think of a way to monitor its operating status?

If you run it externally from HA you can monitor it by ping. That being said, I’ve been running the addon Mosquitto broker for 5-6 years and haven’t had a single issue. Do you really need to monitor it? It is very reliable out of the box.

You can also look into deploying a monitoring tool. I myself use PRTG, where you can set up MQTT monitoring if you need it.

yes, mosquito is very stable but if it falls, a smart house should warn you about it.

I think I am going to check it by creating an automatism that checks that data is received from a sensor on a regular basis.

With this template I monitor the whole process including mqtt mosquito, z2m, etc…

{# Sensor Zigbee Temperatura Xiaomi #}
{{
now() - states.sensor.szb_temperatura_xiaomi_battery.last_updated >= timedelta (hours=8)
and
now() - states.sensor.szb_temperatura_xiaomi_humidity.last_updated >= timedelta (hours=8)
and
now() - states.sensor.szb_temperatura_xiaomi_temperature.last_updated >= timedelta (hours=8)
}}