All Questions
Tagged with prometheus-alertmanager slack
24
questions
0
votes
0
answers
25
views
Slack alerts into Webex Team
I'm trying to migrate Prometheus Alertmanager alerting from using slack_configs (ref1) into the webex_configs (ref2). Is there any possibility to adjust the message sent to Webex with structure used ...
0
votes
0
answers
134
views
How can we export Elastic search metrics from AWS cloud watch exporter to prometheus
I've been working on exporting AWS Elasticsearch (AWS/ES) metrics to Prometheus using the Prometheus CloudWatch Exporter, following the setup described in the GitHub repository here.
I've successfully ...
2
votes
1
answer
461
views
Slack notification via AlertManager - some buttons missing in Slack Desktop App
I have a Slack notification configured for AlertManager:
receivers:
- name: "team:slack"
slack_configs:
- channel: "alerts"
icon_emoji: !unsafe '{{ template &...
1
vote
1
answer
443
views
alertmanager notify specific slack groups based on severity
I want to set up Prometheus' Alertmanager so that when I get an alert, I check its severity. If it is "warning", I want to send the alert to the "warning" Slack channel. If it is &...
2
votes
0
answers
177
views
Using repetitive blocks in global or as variable in alertmanager.yml config file
I have to send different alerts in 20 Slack channels based on some filter. My Alertmanager config file looks like (only two receiver as example):
global:
resolve_timeout: 1m
slack_api_url: '<...
0
votes
0
answers
1k
views
Filtering Alert Manager Alerts with Kubernetes Namespaces
As of Now,
We have Promethues and Alert Manager configured in K8's cluster and the alerts are getting pushed to slack channel.
In our K8's Cluster,
Dynamically Few Namespaces gets Created and pods ...
2
votes
1
answer
1k
views
Is there some way to parameterize the slack channel in alertmanager?
Title pretty much says it all... I'm trying to parameterize the slack channel so I don't have a bunch of receivers configured the same way except for the channel.
The docs say it takes a tmpl_string ...
0
votes
0
answers
323
views
How to work with alertmanager alerts one by one
In alertmanager config for slack examples i may typically see something like:
text: >-
{{ range .Alerts -}}
{{ .Annotations.text }}
{{ end }}
but this glues all of notification in a ...
0
votes
1
answer
1k
views
Prometheus alertmanager slack notification newlines issue
I've defined an alert for my kubernetes pods as described below to notify through slack.
I used the example described in the official documentation for ranging over all received alerts to loop over ...
0
votes
1
answer
2k
views
mention slack users in prometheus alertmanager notification
So I have a common label opsteam that is supposed to bring DM in slack once alertmanager is fired. However inside slack I get usernames as pure text, not highlighted and these users are not getting ...
3
votes
1
answer
2k
views
Prometheus / Alertmanager: remove link from slack notifications
Is it possible to remove the link that we get when AlertManager posts to Slack?
At the moment it's going to http://localhost:9093/.
0
votes
1
answer
164
views
Can we use two different prometheus.yml file for a single prometheus server
I have a single prometheus server which is scraping for both prod and stage environment and I have integrated the alertmanager with my slack channel. which is working fine. I am getting alerts of both ...
0
votes
1
answer
5k
views
Alertmanager email notification not working
I have the below alertmanager.yml to send the alerts to Mail and Slack channel. Here i am getting alerts on slack, But i am not getting email alerts same time while getting in slack. There is no error ...
0
votes
2
answers
4k
views
Alertmanager: Slack Notification - x509: certificate signed by unknown authority
I am trying to configure the Prometheus alert-manager with slack for the notification. But it fails with below error.
alertmanager | level=warn ts=2021-01-11T05:53:56.925Z caller=notify.go:674 ...
0
votes
1
answer
966
views
How to show http response code in slack alert while using prometheus, blackbox exporter and alertmanager
I want to get the HTTP response code when the alert is triggered on slack on failure as currently i am getting many of them.
alert.rules.yml
groups:
- name: alert.rules
rules:
- alert: ...