Hello Team,
I am trying to configure the promethues alert-manager notification to 
slack. i have copied the content from 

https://github.com/shazforiot/Prometheusalertmanager/blob/main/slack_alertmanager.yml

But my container fails with below error.

alertmanager    | level=error ts=2021-01-11T10:30:35.129Z 
caller=coordinator.go:124 component=configuration msg="Loading 
configuration file failed" file=/etc/alertmanager/alertmanager.yml 
err="yaml: invalid leading UTF-8 octet"

File saved in notepad++ with encoding UTF-8, however still no success. even 
this link 

https://grafana.com/blog/2020/02/25/step-by-step-guide-to-setting-up-prometheus-alertmanager-with-slack-pagerduty-and-gmail/
 
also the same problem. YML syntax validated in this 
http://www.yamllint.com/ here no issue at all.

what could be issue? Please provide direction to solve this.

-- 
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/43432783-ee4b-4e19-8e4f-1204b4e29391n%40googlegroups.com.

Reply via email to