Slack integration issue

34 views
Skip to first unread message

Ashok kumar

unread,
May 18, 2020, 10:23:10 AM5/18/20
to Prometheus Users
Hello

We are using prometheus and Grafana inside kubernetes cluster.

Whereas I am not able to integrate it with Slack but working fine with Microsoft teams.

Below is the SSL error we are getting. Any idea why this is happening?


t=2020-05-18T13:31:43+0000 lvl=eror msg="failed to send notification" logger=alerting.notifier uid= error="Post https://hooks.slack.com/services/xxxxxx: x509: certificate signed by unknown authority"


Regards,
Ashok

Stuart Clark

unread,
May 18, 2020, 10:25:38 AM5/18/20
to Ashok kumar, Prometheus Users
On 2020-05-18 15:23, Ashok kumar wrote:
> Hello
>
> We are using prometheus and Grafana inside kubernetes cluster.
>
> Whereas I am not able to integrate it with Slack but working fine with
> Microsoft teams.
>
> Below is the SSL error we are getting. Any idea why this is happening?
>
> t=2020-05-18T13:31:43+0000 lvl=eror msg="failed to send notification"
> logger=alerting.notifier uid= error="Post
> https://hooks.slack.com/services/ [1]xxxxxx: x509: certificate signed
> by unknown authority"
>

That suggests your root trust certificates aren't configured correctly.
How have you deployed alertmanager? Is it via Prometheus Operator or
your own Docker image?

--
Stuart Clark

Ashok kumar

unread,
May 18, 2020, 10:30:11 AM5/18/20
to Prometheus Users
Versions:

grafana:6.2.5

alertmanager:v0.18.0

Stuart Clark

unread,
May 18, 2020, 11:01:34 AM5/18/20
to Ashok kumar, Prometheus Users
On 2020-05-18 15:30, Ashok kumar wrote:
> Versions:
>
> grafana:6.2.5
>
> alertmanager:v0.18.0
>

Which Docker image are you using?

> On Monday, 18 May 2020 15:23:10 UTC+1, Ashok kumar wrote:
>
>> Hello
>>
>> We are using prometheus and Grafana inside kubernetes cluster.
>>
>> Whereas I am not able to integrate it with Slack but working fine
>> with Microsoft teams.
>>
>> Below is the SSL error we are getting. Any idea why this is
>> happening?
>>
>> t=2020-05-18T13:31:43+0000 lvl=eror msg="failed to send
>> notification" logger=alerting.notifier uid= error="Post
>> https://hooks.slack.com/services/ [1]xxxxxx: x509: certificate
>> signed by unknown authority"
>>
>> Regards,
>> Ashok
>
> --
> You received this message because you are subscribed to the Google
> Groups "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to prometheus-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/4733a3b2-f303-4658-aaa1-f1ee034fac6a%40googlegroups.com
> [2].
>
>
> Links:
> ------
> [1]
> https://hooks.slack.com/services/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
> [2]
> https://groups.google.com/d/msgid/prometheus-users/4733a3b2-f303-4658-aaa1-f1ee034fac6a%40googlegroups.com?utm_medium=email&utm_source=footer

--
Stuart Clark
Reply all
Reply to author
Forward
0 new messages