Ad Widget

Collapse

Zabbix has stopped to send notification to Slack

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kostya_h
    Junior Member
    • Nov 2017
    • 13

    #1

    Zabbix has stopped to send notification to Slack

    Hello.
    Few days ago Zabbix has stopped to send notifications to Slack group.
    I have restarted Zabbix service but it did not help. Still does not work! Last notification is for 13 of November 2017!
    There were not any changes on Zabbix side that it could affect it somehow!
    Please help find the root cause and fix it.
    Thanks.
  • vesper1978
    Member
    • Nov 2016
    • 59

    #2
    Are there any errors in the zabbix_server.log that may indicate an issue with your slack integration?

    Also, did you use the following to setup slack alerts with zabbix? https://github.com/ericoc/zabbix-slack-alertscript

    If so, what happens when you do the test in the "Testing" section?

    Comment

    • kostya_h
      Junior Member
      • Nov 2017
      • 13

      #3
      Hello,
      Yes we use such script.
      Please kindly advise how to test it.
      Thanks.

      Meanwhile i opened url https://hooks.slack.com/services/bla-bla-bla (where bla-bla-bla=our token) and got error that "No active hooks".
      Is it ok?
      Last edited by kostya_h; 16-11-2017, 19:49.

      Comment

      • vesper1978
        Member
        • Nov 2016
        • 59

        #4
        Try reading the "Testing" section in the URL I previously provided.

        Comment

        • kostya_h
          Junior Member
          • Nov 2017
          • 13

          #5
          ok. thanks.
          Will keep you posted.

          Comment

          • kostya_h
            Junior Member
            • Nov 2017
            • 13

            #6
            Hello,
            I have recreated a new webhook and updated script. Managed to receive test massage to my account but could not do it for our channel. Is it ok?
            Now i am waiting for any zabbix alert to see whether it will send notifications to our #server_monitoring channel.

            Comment

            • kostya_h
              Junior Member
              • Nov 2017
              • 13

              #7
              Slack webhook recreating has solved an issue.
              Thanks.

              Comment

              • Raj
                Junior Member
                • Mar 2018
                • 1

                #8
                Hi everyone, I have an issue with slack notification, I have configured slack.sh script in zabbix and my test command is working fine without an issue, but the real alerts are not popping out to slack, I have created a new user as Zabbix Admin and create a media type as scrip also created an action, when I check the alert trigger in Zabbix dashboard it pop up and it says the alert has send to slack, but I never receive any messages to slack.

                Comment

                • Huu Hao
                  Junior Member
                  • May 2018
                  • 1

                  #9
                  I setup followed this guide https://aperogeek.fr/zabbix-send-alerts-to-slack/ and its work well. Very simple script but useful !

                  Comment

                  Working...