Slack Intergration

Hello, I am trying to integrate slack with grafana. When i select notifications slack is not listed. I thought maybe i should use the webhoook option but it doesn’t seem to be working.

Everything else i look at references a slack option and i can see a slack.go in the github. How can i install the slack integration ?

Thanks All

I found the slack option (didn’t have to look far :joy: ) however when i try and send a test slack notification i get the below error.

=2017-03-24T11:04:00+0000 lvl=eror msg="Failed to send slack notification" logger=alerting.notifier.slack        error="Webhook response status 404 Not Found" webhook=slack
t=2017-03-24T11:04:00+0000 lvl=eror msg="Failed to send alert notifications" logger=context userId=1 orgId=1    uname=admin error="Webhook response status 404 Not Found"
t=2017-03-24T11:04:00+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/alert-notifications/test status=500 remote_addr=10.255.0.16 time_ms=415ns size=48

strange, did you enter a valid incoming slack webhook in the alert notification channel config?

I have exactly the same problem:

t=2017-09-07T11:19:13-0500 lvl=info msg="Sending notification" logger=alerting.notifier type=slack id=0 isDefault=false
t=2017-09-07T11:19:13-0500 lvl=info msg="Executing slack notification" logger=alerting.notifier.slack ruleId=0 notification=SlackChannel
t=2017-09-07T11:19:13-0500 lvl=eror msg="Failed to send slack notification" logger=alerting.notifier.slack error="Webhook response status 404 Not Found" webhook=SlackChannel
t=2017-09-07T11:19:13-0500 lvl=eror msg="Failed to send alert notifications" logger=context userId=2 orgId=1 uname=stuermer error="Webhook response status 404 Not Found"
t=2017-09-07T11:19:13-0500 lvl=eror msg="Request Completed" logger=context userId=2 orgId=1 uname=stuermer method=POST path=/api/alert-notifications/test status=500 remote_addr=[::1] time_ms=783 size=48 referer=http://localhost:3000/alerting/notification/2/edit

I’m sure I put in a correct slack webhook. It works from the console of the machine that hosts the grafana-server.
So
curl -X POST --data-urlencode 'payload={"channel": "#channelname", "username": "webhookbot", "text": "This is posted to #channelname d comes from a bot named webhookbot.", "icon_emoji": ":ghost:"}' https://hooks.slack.com/services/xxxxxxxxxxxxxxxxxx/xxxxxxxxxxx
works fine.
Any advice here?
I’m using grafana 4.4.3. on a Ubuntu 16.04.1 LTS server.

I am also having an issue with the slack integration:
t=2017-11-23T08:59:42+0100 lvl=eror msg=“Failed to send slack notification” logger=alerting.notifier.slack error=“Post https://hooks.slack.com/services/XXXXXX/XXXXX/XXXXXXXXXdiK12yujorNCQ: x509: certificate signed by unknown authority

Hello, long time this thread was not update. But I would like to know if you find a solution to solve your issue?