Hello, I would like to ask a question about Slack Webhook integration available at https://www.zabbix.com/integrations/slack
The solution is working fine for me after upgrade to 6.0 but there is something strange at least for me in this integration.
The script in MediaType shipped with this template creates and updates messages in Slack, but does not delete it after the problem was resolved.
There is no need for a resolved problem to stay in Slack, even if it's updated to resolved.
In this case manual intervention is needed in order to delete the resolved messages.
Deletion of messages can be done very easy calling chat.delete API in Slack.
Something more, between the update to resolved and deletion from Slack a sleep can be introduced, let's say 10 or 20 seconds, just for visibility.
The solution is working fine for me after upgrade to 6.0 but there is something strange at least for me in this integration.
The script in MediaType shipped with this template creates and updates messages in Slack, but does not delete it after the problem was resolved.
There is no need for a resolved problem to stay in Slack, even if it's updated to resolved.
In this case manual intervention is needed in order to delete the resolved messages.
Deletion of messages can be done very easy calling chat.delete API in Slack.
Something more, between the update to resolved and deletion from Slack a sleep can be introduced, let's say 10 or 20 seconds, just for visibility.
Comment