You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to monitor the status of docker containers.
The problem is as follows. I stop a test docker container, I get a notification in slack that there is a stopped container, SUPER!
But after exactly 5 minutes, I get a message that the problem is solved and the docker is up as if.
If alertmanager.yml change group_interval: 5m to group_interval: 15m, I get the wrong notification again, but now after 15 minutes.
I was confused to comment out this line group_interval: 15m, and then the notification came in 5 minutes again.
The problem is that the docker container is stopped and has not been started, but for some reason the erroneous notification comes.
Yes, I totally agre with you, tha is why I don't understud what is problem... I stopped the docker container and didn't start it.
So I don't understand why it comes and who sends this message that the problem is solved.
You need to look at your ContainerKilled alert in Prometheus and understand why it resolved. My guess is that the query time() - container_last_seen > 60 returned 0 (false). If you need additional help you can ask in the promtheus-users mailing list.
I want to monitor the status of docker containers.
The problem is as follows. I stop a test docker container, I get a notification in slack that there is a stopped container, SUPER!
But after exactly 5 minutes, I get a message that the problem is solved and the docker is up as if.
If alertmanager.yml change group_interval: 5m to group_interval: 15m, I get the wrong notification again, but now after 15 minutes.
I was confused to comment out this line group_interval: 15m, and then the notification came in 5 minutes again.
The problem is that the docker container is stopped and has not been started, but for some reason the erroneous notification comes.
Translated with DeepL.com (free version)
APP 12:47 PM
[FIRING:1] ContainerKilled (NGINX Docker Maintainers [email protected] /docker/084586b71d3605ea6657d2cb4530348438226d14af7d0a563427bb8bc6a51e46 nginx 192.168.100.1:8080 cadvisor-intra myngin5 warning)
New
12:52
[RESOLVED] ContainerKilled (NGINX Docker Maintainers [email protected] /docker/084586b71d3605ea6657d2cb4530348438226d14af7d0a563427bb8bc6a51e46 nginx 192.168.100.1:8080 cadvisor-intra myngin5 warning)
System information:
Linux 6.5.0-1022-azure x86_64
Alertmanager version:
alertmanager, version 0.23.0 (branch: debian/sid, revision: 0.23.0-4ubuntu0.2)
build user: [email protected]
build date: 20230502-12:28:45
go version: go1.18.1
platform: linux/amd64
prometheus, version 2.31.2+ds1 (branch: debian/sid, revision: 2.31.2+ds1-1ubuntu1.22.04.2)
build user: [email protected]
build date: 20230502-12:17:56
go version: go1.18.1
platform: linux/amd64
global:
external_labels:
monitor: ''
alerting:
alertmanagers:
rule_files:
scrape_configs:
scrape_interval: 60s
scrape_timeout: 60s
static_configs:
The text was updated successfully, but these errors were encountered: