#1
An alert channel that had never worked
The serious-alerts channel to Matrix had been set up for two days. The relay was running and tested. But checking the real history, all 5 of its alerts had failed.
What do you think was going on?
Show the fix
- Cause
- When the channel was created in Zabbix, the «problem», «recovery» and «update» templates were missing. With no text to generate, Zabbix never invoked the script, and the error only showed in its history.
- Fix
- Add the three templates in the same format as the old channel and test with a real alert, not with «the bot is on».
- Lesson
- A component being on doesn't mean it works. To know whether an alert channel works, check whether the alerts arrived.