On Monday, 9 March 2020 14:59:45 UTC, BDT wrote:
>
> The doc of alertmanager:
>

It is here: https://prometheus.io/docs/alerting/configuration/

At the top level is an item called "receivers"

Under this is a list of items of type <receiver> 
<https://prometheus.io/docs/alerting/configuration/#receiver>

One possibility for <receiver> is slack_configs

Under slack_configs is a list of items of type <slack_config> 
<https://prometheus.io/docs/alerting/configuration/#slack_config>

This type includes various settings, one of which is http_config of type 
<http_config> 
<https://prometheus.io/docs/alerting/configuration/#http_config>

<http_config> has various settings including tls_config of type <tls_config> 
<https://prometheus.io/docs/alerting/configuration/#tls_config>

This includes various settings, including insecure_skip_verify.

So at the top level, you will end up with something like this (untested):

route:
  ...
receivers:
- name: slack_general
  slack_configs:
    - channel: ...
      actions: ...
      http_config:
        tls_config:
          insecure_skip_verify: true

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/0e1be987-f46f-4dd9-8f21-74c1e6c10f6c%40googlegroups.com.

Reply via email to