Ad Widget

Collapse

Slack webhook doesn't update messages on problem resolve in alarm mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ipx
    Junior Member
    • Dec 2018
    • 3

    #1

    Slack webhook doesn't update messages on problem resolve in alarm mode

    Hello,

    I installed zabbix slack webhook (https://www.zabbix.com/integrations/slack) media in an Alarm mode, so messages about problem should be updated when they'are resovled.

    When problem happens, issue is posted into the channel.

    But when the issue is resolved (by trigger itself) , nothing happens

    I put a debug line into the beginning of the webhook script:

    Code:
    try {
    
            Zabbix.Log(3, '[ Slack Webhook ] webhook received');
    
            var params = JSON.parse(value);
    
            validateParams(params);
    
            var req = new CurlHttpRequest(),
            ...
    ​
    and it turned out that hook script is just not called when a problem is resolved.


    What could be wrong? How to make it working?


    Zabbix Server 5.0.21

  • Melissa25
    Junior Member
    • Feb 2023
    • 6

    #2
    It's possible that the Slack webhook is not set up to receive update messages when an alarm is resolved. Check the configuration settings of the webhook to ensure that it is set up to receive update messages and that the appropriate permissions are enabled. If the issue persists, consult Slack's documentation or contact their support team for further assistance.

    GTA Portal Login
    Last edited by Melissa25; 28-02-2023, 07:31.

    Comment

    • ipx
      Junior Member
      • Dec 2018
      • 3

      #3
      I was trying to find this setting in the webhook configuration and couldn't find it.

      Turned out this setting sits inside the Actions that are assigned to the webhook. Thanks for your help​

      Comment

      Working...