louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.3k stars 5.39k forks source link

Docker container monitor says restating containers are up #5369

Open 404invalid-user opened 3 days ago

404invalid-user commented 3 days ago

πŸ“‘ I have found these related issues/pull requests

found nothing

πŸ›‘οΈ Security Policy

Description

After setting up a Docker container monitor for my containers I have noticed when my containers crash and go into a restarting loop uptime-kuma will say they are still up

πŸ‘Ÿ Reproduction steps

add the docker socket to umptime-kuma

setup a docker container that has restart-always and then starts and crashes so state is constantly starting if you use docker ps

setup a monitor for that container in uptime-kuma

see that is is always up yet the container isn't actually up.

πŸ‘€ Expected behavior

For uptime kuma to say the container is down and send a notification

πŸ˜“ Actual Behavior

the monitor status continues to say up and I do not get a notification

🐻 Uptime-Kuma Version

1.23.15

πŸ’» Operating System and Arch

ubuntu 22.04

🌐 Browser

google chrome, firefox

πŸ–₯️ Deployment Environment

πŸ“ Relevant log output

No response