Skip to main content

Questions tagged [prometheus-alertmanager]

The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.

prometheus-alertmanager
0 votes
0 answers
23 views

Multi-tenant Loki Ruler not sending alerts to Mimir AlertManager

I have an AlertRule set up in my Loki-Distributed instance via the Loki ruler as below: ruler: directories: fake: rules.txt: | groups: - name: mimir_loki_test ...
-1 votes
0 answers
19 views

Script to Deploy Grafana Dashboard with PromQL and Alert Queries [closed]

I'm looking to build a script that can deploy a Grafana dashboard with PromQL queries and alert queries all in one go. The idea is to automate the deployment process so that I can simply call the ...
2 votes
2 answers
5k views

Execute shell script through prometheus alert manger

Please let me know if I can execute a shell script on the same server as Prometheus/alertmanager on an alert trigger? If so, help me with the configurations.
0 votes
0 answers
26 views

Why alertmanager is re-sending notifications after (group_interval + repeat_interval) duration?

Alertmanager notifications are delayed. Alertmanager re-sends notifications after (group_interval + repeat_interval) time. We are expecting the notifications to be re-sent after repeat-interval time ...
0 votes
0 answers
24 views

how to configure Grafana alertmanager datasource with kube-prometheus-stack helm deployment

I am using the prometheus alertmanager that gets deployed by the kube-prometheus-stack helm deployment. Now I want to connect Grafana and tried to configure a alertmanager datasource what fails with ...
6 votes
2 answers
7k views

Time based alerts in prometheus alertmanager

I want to set an alert in Prometheus alertmanager that has to be triggered between a given time Eg: Condition to be checked between 09:15 to 15:30
0 votes
0 answers
12 views

How does repeat_interval work in alertmanager?

I am having trouble making sense of some alerting behavior I'm seeing and it seems connected to repeat_interval. Can't seem to find a simple answer to my question. Question: Will repeat_interval fire ...
0 votes
0 answers
44 views

Add a template under alert manager receivers in Kube-prometheus-stack values.yaml

I am trying to define a template to use without having to create a full ConfigMap within the values.yaml for alert manager since it is such a small template. I saw in a few examples people using ...
0 votes
0 answers
32 views

Spring Boot Prometheus PushGatewayManager: Unable to push metrics due to SocketTimeoutException

I'm encountering an issue with my Spring Boot application where it fails to push metrics to Prometheus Pushgateway. The issue is happening intermettently The error message indicates a ...
0 votes
0 answers
20 views

Prometheus systemd expression based on a list of services

I have several VMs each exporting (using node-exporter) the status of its systemd services. I would like to have an alerting rule that looks something like: - alert: service_down expr: ...
0 votes
0 answers
21 views

Managing Time-to-Live (TTL) for Alerts in Prometheus

We're collecting EUR/USD prices every minute on Prometheus and setting up various alerts, such as percentage changes over the last 10 minutes and the last hour. The data flow works seamlessly; however,...
0 votes
0 answers
17 views

Notes "New" or "Continuing" alert for Alertmanager

I am doing a fairly simple monitoring setup based on Prometheus and Alertmanager (main branch). Reciver - Telgram chat. As alertmanager supports Telegram as a reciver since v0.21, i would like to ...
15 votes
4 answers
13k views

How to send alert for every error in my logs using Promtail / Loki - AlertManager?

I'm using Promtail + Loki to collect my logs and I can't figure how can I alert for every error in my log files. I'm also using Prometheus, Alertmanager and Grafana. I've seen some people have managed ...
0 votes
0 answers
27 views

show individual container as Prometheus target

I am running a server with several docker (unfortunately I cannot use podman because it is mailcow and this does not fully support podman yet) in one docker-compose file. I have added cadvisor to the ...
0 votes
0 answers
19 views

Is there a way to suppress 'resolve' messages sent to pager duty

Our pager duty is integrated to alert manager, and we want to stop an specific alert from auto resolving. To my knowledge, the best way to do that would be changing the alert manager configuration so ...

15 30 50 per page
1
2 3 4 5
52