Using Grafana v11.5 with MQTT integration for alert results reporting.
Customized alert notification templates which work in the preview for fired alerts are not executed in the MQTT handler. Instead, a default json payload continues to be executed.
Things done:
- Proper alert query executing
- MQTT alert contact handler properly configured and tested (json format selected)
- Customized notification template created and tested
- Customized notification template loaded to MQTT Message block
- Changes properly saved
I am seeing many examples for email and slack notifications, but very little on MQTT alert notification handling. The Grafana documentation only provides a static json payload example for what is sent–this is the default payload that I am unable to modify.
Who else is using the MQTT alert notification handler and can explain why only the default payload message gets sent?