Skip to main content

All Questions

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: ...
Corel's user avatar
  • 623
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 ...
LeifSec's user avatar
  • 85
0 votes
1 answer
58 views

adding node exporter info to prometheus query

I am running multiple docker stacks all providing the infrastructure for a product. Internally those docker stacks are monitored using Prometheus and alert to a teams channel. I want all docker stacks ...
jonathan-dev's user avatar
0 votes
0 answers
112 views

Detect systemd service restart using prometheus

I want to trigger an alert if a systemd service restarts. If I am able to capture time between a service inactive and active state, then I think I am able to create such alert. We know we can delay ...
bobs's user avatar
  • 55
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
0 votes
0 answers
135 views

ho to enable the http_requests_total metric in a Prometheus alert rule

I need to raise custom alert on the basis of the CRUD operation, as I got some suggestion on using The http_requests_total and data_install_state metrics are intended for use in the alert expression, ...
Annu's user avatar
  • 1
0 votes
1 answer
133 views

2 different prometheus server to scrapping different data but shows combined in their /targets

I have 2 different prometheus server (with its set of alertmanager, pushgateway, nodeExporter and kube-state-metrics) When I port forward either of these 2 servers, in their respective /targets - I ...
NIKITA RATH's user avatar
0 votes
0 answers
682 views

Prometheus Exporter for SNMP targets

I am trying to get SNMP metrics from target system to prometheus, I am able to install it in my server and able to access that in web browser. http://3.X.X.X:9116/ But when i provide target server ...
karthik's user avatar
  • 333
0 votes
1 answer
252 views

Getting "In host: Unknown" in Prometheus alert

I have configured following alert-rules.yml as follows: groups: - name: alert.rules rules: - alert: HostOutOfMemory expr: ((node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes) * ...
MsA's user avatar
  • 2,849
0 votes
0 answers
1k views

Prometheus-node-exporter alert rule for new node

I have kube-prometheus stack setup in my cluster. I need a rule that alerts me whenever a new node is created. My cluster is in AWS EKS and a monitoring stack setup with these components, Alertmanager,...
Sebinn Sebastian's user avatar
0 votes
1 answer
683 views

Node Hostname in Prometheus Alert email

Is there any way to add Host-name in Prometheus alert email, along with IP address and Port. current alert configuration is as follows: - alert: instance_down expr: 'up{job="node_exporter&...
iamsumesh's user avatar
  • 655
0 votes
1 answer
810 views

Is it possible to silence other alerts when alert "host down" appear?

I use prometheus and alertmanager to monitor few servers, and every time that server go down i get bunch of alerts ex. "Nginx down" "Docker down" along side alert "Host down&...
Filip Cheliński's user avatar
1 vote
0 answers
393 views

Prometheus not scrapping mysql metrics on the web

I created a mysql8 docker container like this: $ docker network create db_network $ docker run -d --name mysql80 --publish 3306 --network db_network --restart unless-stopped --env ...
Soumya Ghosal's user avatar
0 votes
1 answer
2k views

How to make a query to check memory available in Prometheus

I'm trying to make a query using PromQL to check memory available (RAM). Is the query below correct to check memory available without cache and buffer? I worte the query regerring to the link # Node ...
Astrid's user avatar
  • 41
0 votes
1 answer
691 views

Prometheus Empty query result using node-exporter

I use prometheus(node-exporter) but It doesn't work the way I want it to. I have two node-exporter and I can find it But I can't get node-exporter CPU How I get node-exporter CPU and run query ?
cloud-engineer's user avatar

15 30 50 per page