-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.2.1
-
None
-
Zabbix 5.2.1 on CentOS 8.2 (Virtual server).
Zabbix Slack media type (Native).
-
Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021)
-
1
Normal behavior:
- Setup Slack webhook with "alarm" type (https://www.zabbix.com/ru/integrations/slack)
- Add contact with Slack channel #channel (private)
- Receive ALARM message to #channel
- Receive UPDATE under message thread
- Receive RECOVERY by changing the original message title and color
But if we want to use 2 or more Slack channels/contact the behavior is incorrect:
- UPDATE messages locate just in Slack channel, not under the message thread
- RECOVERY events are sent (Zabbix logs are ok), but they don't reach Slack channels
Steps to reproduce:
- Setup Slack webhook with "alarm" type (https://www.zabbix.com/ru/integrations/slack)
- Add contact1 with Slack channel #channel1 (private)
- Add contact2 with Slack channel #channel2 (private)
- Simulate the problem
- We receive ALARM message in both Slack channels (#channel1 and #channel2)
- Simulate the recovery or update message
- No RECOVERY message
Result:
1. ALARM message (same in #channel1 and #channel2)
2. UPDATE message (same in #channel1 and #channel2)
3. No RECOVERY message received in Slack channels!
4. Under tags section in problem list we see
2 channel ids, 2 channel names, 2 message links and 2 message timestamps.
Disabling all other Slack contacts except 1 solves the problem.
Expected:
We expect that sending notifications in 2 or more Slack channels should work like in case of 1 Slack channel.