louislam / uptime-kuma

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

Monitors duplicate at status change #4997

Closed Badetuch closed 1 month ago

Badetuch commented 1 month ago

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

None

πŸ›‘οΈ Security Policy

Description

image

I run Kuma behind a traefik reverse proxy. When to state of a monitor changes, e.g. from 'Up' to 'Down' or vice versa, the state of the service does not change but rather duplicates itself with in the new state as seen on the screenshot I took. Reloading the Page doesn't fix this either and it ends up creating a very messy ux, even though kuma detects the services correctly as 'up' or 'down' ass seen in the 'Quick Stats' section.

πŸ‘Ÿ Reproduction steps

I wanted to test if Kuma was working correctly and exited some of my monitored docker containers, in this case my teamspeak3 server and mysql database which I use as an external db for the ts3-server. I monitor my 2 containers with the 'Docker Container' Monitor-type using the container name. For the 'TeamSpeak - SSH' monitor I use the 'TCP Port' option.

πŸ‘€ Expected behavior

The state of the monitors should change from 'up' to 'down' and vice versa.

πŸ˜“ Actual Behavior

The monitors are being duplicated in the 'Quick Stats' Section.

🐻 Uptime-Kuma Version

1.23.13

πŸ’» Operating System and Arch

Debian 12

🌐 Browser

Brave Version 1.68.134 Chromium: 127.0.6533.88 (Official Build) (64-Bit)

πŸ–₯️ Deployment Environment

πŸ“ Relevant log output

No response

CommanderStorm commented 1 month ago

duplicates itself with in the new state as seen on the screenshot I took

Could you annotate where in the screenshot a duplicate monitor exists? I cannot find any (Am I blind?)

Badetuch commented 1 month ago

image As u can see there should only be 6 services displayed but there are many more then that on the right.

CommanderStorm commented 1 month ago

Please see the thrid collumn. Lets take the ssh monotor: