Questions tagged [alertmanager]

12 questions
1
vote
1 answer

Alertmanager telegram config chat_id and cannot unmarshal errror

I am trying to configure alertmanager to send alerts to my telegram group. Following the configuration I have: global: resolve_timeout: 5m route: group_by: - job group_interval: 5m group_wait: 30s receiver: "telegram" repeat_interval:…
Jose
  • 21
  • 1
  • 2
1
vote
0 answers

Prometheus alert rule test fails with long intervals

I've got an alert rule: groups: - name: somename rules: - alert: CertificateExpiry expr: certificate_expires_in_days < 20 for: 1h labels: …
badbishop
  • 928
  • 4
  • 12
  • 21
0
votes
1 answer

prometheus-operator when configuring alertmanager config for PagerDuty

Have next issue: When try to set up alertmanager configuration over CRD, get wrong configuration on pod. Problem look like: - routing_key: | ***** routing_key parameter after all CD use multiline string type, and it crash configuration -…
0
votes
1 answer

How to remove labels in alert template?

I found a template for Prometheus Alert Manager for alerts, but I receive many unnecessary labels in notification. How to remove labels in template? This code is responsible for labels (look below). I dont have deep knowledge in Go Templating system…
Epic555
  • 131
  • 5
0
votes
0 answers

How to remove information about old firing alerts in notification?

When 1 alert is firing, AlertManager sends a notification, then 2nd alert is firing or resolved, AM sends a notification with information about 2 alerts. How to remove information about 1st alert in notification? I set ‘repeat_interval: 24h’ for AM…
Epic555
  • 131
  • 5
0
votes
0 answers

Alertmanager with Custom URL within Slack

So I have Alertmanager running with Button in slack. I've created a new button that I want to use with a custom domain, however add an expression to the url based on the alert. {{define "__alert_button_link" -}} …
0
votes
0 answers

Failed to execute /usr/local/bin/alertmanager: Permission denied

I'm trying to configure prometheus alertmanager on Debian 11 with the following unit file: [Unit] Description= Prometheus…
0
votes
0 answers

Alertmanager does not send resolved email

I have configured an alertmanager and it sends alerts properly But it does not send resolved email. I have tried different amount of time for resovled timeout but it did not work here is my configuration I am running alertmanager and prometheus on…
0
votes
0 answers

Grafana Loki, AlertManager - unable to read rule dir, open /tmp/loki/rules/fake: no such file or directory

I've deployed promtail, Grafana, Loki and AlertManager using Helm charts on k3d cluster on my local machine. I would like to have some rules in Loki such that if something will happen, AlertManager should be informed. Now I tried only with some…
mazix
  • 65
  • 1
  • 8
0
votes
0 answers

What is the best way to set up Prometheus + Alertmanager with a HA

I have a monitoring solution that uses Prometheus as a scraper and a data storage, Grafana as a visualiser and Alertmanager as an alerting tool. This all is running on a single server. However, there's an issue with this approach. If a server that…
0
votes
1 answer

Disabling email for Prometheus Alertmanager based on severity

We are monitoring a HPC computing cluster using a combination of Prometheus, Alertmanager and Grafana. On our machines, things like SWAP memory filling up to essentially the limit happen frequently, and while it is useful to see the corresponding…
ml4294
  • 101
  • 2
0
votes
1 answer

webhook MS Teams integration with Prometheus - request failed

I'm struggling with Microsoft Teams/Prometheus integration on K8s cluster. I used helm to start all components. I have correctly working Prometheus and Alertmanager. It seems that all works fine. Prometheus communicate with Alertmanager. Then…
RedBluff
  • 31
  • 1
  • 3