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
1 answer
177 views

Exporting Prometheus Alertmanager Alerts to CSV Using Python, Filtering by Specific Timestamps

I'm working with a monitoring platform provisioned on AWS, utilising EKS, and configured with a Prometheus data source and Alertmanager. Currently, alerts triggered by Alertmanager are sent to a Slack ...
Emmanuel Spencer Egbuniwe's user avatar
2 votes
0 answers
86 views

Doc for setting up Prometheus Alertmanager in Go App?

Functionality broken and client signatures are vastly different while upgrading Alertmanager from 0.21.0 to 0.24.0. There seems no good documentation for setting it up with v0.24.0 too. Is there a doc ...
Sanjay Nag's user avatar
1 vote
0 answers
201 views

Prometheus-Alertmanager, Slack messages not fully showing

I have my Prometheus/Alertmanager(0.26.0) in Docker Compose on a VM. My problem is most of the time Alerts are not fully showing Slack. Lets say I get one good alert and then when I run docker-compose ...
Ronald's user avatar
  • 31
0 votes
0 answers
160 views

Dynamic variables in Prometheus alert rule

I have a rule that monitors the memory usage of a container compared to the limit set to it: - alert: high_memory_usage_resource_limits expr: > ( sum by (container, pod, namespace) (...
Daniel's user avatar
  • 673
0 votes
2 answers
438 views

Is there a way to set up alert with Prometheus storage retention size

Is there a way to set a prometheus alert on storage.tsdb.retention.size, lets say if the retention size has been hit, i want an alert sent out.
floormind's user avatar
  • 1,966
0 votes
0 answers
220 views

Configure custom Prometheus Alertmanager templates in docker-compose

Could you help me configure the Prometheus Alertmanager custom templates in docker-compose? I tried to write down the path to the templates, but seems I do something wrong. There is a code of my ...
rzs's user avatar
  • 1
2 votes
1 answer
291 views

Promql use metric value as a new label

I have this metric: task_code{pod="foobar"} 9 I am trying to write an expression to check the value of the mentioned metric to raise an alert as the value of the above metric can be any ...
Ashwin's user avatar
  • 2,905
0 votes
0 answers
85 views

Prometheus AlertManager alerts not being forwarded to Slack channels

Prometheus ver. 2.47.0 / AlertManager ver. 0.26.0 I'm trying to route AlertManager alerts to 2 different Slack channels. Prometheus config file - job_name: 'node_exporter_metrics_staging' ...
Roberto Jobet's user avatar
0 votes
0 answers
97 views

Prometheus Alerts.How to set a regular expression in the configuration?

I have configuration: config: global: resolve_timeout: 5m inhibit_rules: - equal: - namespace - alertname source_matchers: - severity = critical ...
Maksim's user avatar
  • 339
0 votes
0 answers
150 views

How to set the no_proxy params in Alertmanager?

Problem I'm currently deploying the kube-prom-stack HELM chart (from the prometheus-community), setting-up Alertmanager, and got an issue while setting no_proxy parameter inside a receiver conf. The ...
Ottobus's user avatar
  • 75
0 votes
0 answers
138 views

How to query Kubernetes node CPU levels

I have the following PromQL query to get the CPU percentages of the nodes in my Kubernetes cluster. 100 - (avg by (instance) (rate(node_cpu_seconds_total{mode!="idle|wait|iowait"}[5m])) * ...
Jananath Banuka's user avatar
0 votes
0 answers
119 views

Prometheus alertmanager to send alerts based on alertname to relevant receivers

Here is the alertmanager.yml file I have, it has 2 routes with routing taken care via alertname winA and winB. I am able to get alerts from winA to winA receiver but for some reason when I try to ...
Jagadish Kumar's user avatar
0 votes
0 answers
127 views

Tag Prometheus alerts with labels

I want to create PrometheusRule which generates alerts for "pod restarts" only for namespaces that are tagged with a specific label. How can I do that? For e.g. if I mark k label namespace ...
bvnbhati's user avatar
  • 382
1 vote
0 answers
133 views

SNMP Exporter Not Displaying Correct Interface Details but when i use snmpwalk command it does

My goal is to obtain metrics from the SNMP device, and I have successfully configured my snmp.yaml file. However, I would prefer to add numerous targets directly to Snmp.yaml rather than through the ...
Goutham's user avatar
  • 17
1 vote
0 answers
391 views

Monitoring host traffic with node-exporter running in container not in local network

I'm using docker swarm and a public network for my containers. But I need to monitor traffic usage on the machine hosting the container (whichever that is). node_network_receive_bytes_total seems to ...
Mefitico's user avatar
  • 1,066

15 30 50 per page
1 2
3
4 5
52