mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Multiple Rocket.chat Notifications Triggering for One site at the same time #4639
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#4639
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nileshA-addweb on GitHub (Jan 26, 2026).
📑 I have found these related issues/pull requests
I found some notification-related issues, but none specifically address multiple Rocket.Chat notifications being triggered simultaneously for the same event.
🛡️ Security Policy
📝 Description
When multiple monitors go down or exceed the interval at the same time, Rocket.Chat receives multiple notifications simultaneously. This results in notification spam instead of a single alert per event.
👟 Reproduction steps
👀 Expected behavior
Only one notification should be triggered per alert event, even when multiple monitors fail simultaneously.
😓 Actual Behavior
Multiple notifications are triggered at the same time for the same alert condition, causing spam in Rocket.Chat.
🐻 Uptime-Kuma Version
2.1.0-beta.2-nightly-20260121024714
💻 Operating System and Arch
Ubuntu 22.04.2 LTS | Arch: x86_64
🌐 Browser
Version 143.0.7499.169 (Official Build) (64-bit)
🖥️ Deployment Environment
Runtime Environment
Database
Database Storage
Uptime Kuma Setup
Host System
📝 Relevant log output
@louislam commented on GitHub (Jan 26, 2026):
Not by our current design, it is expected to send one notification per monitor.
@louislam commented on GitHub (Jan 26, 2026):
Feel free to open feature request instead, thanks for the report.
@nileshA-addweb commented on GitHub (Jan 26, 2026):
@louislam There was a typo. Let me explain the issue again (as below).
Description
When single monitor go down or exceed the interval at the same time, Rocket.Chat receives multiple notifications simultaneously. This results in notification spam instead of a single alert per event.
Reproduction steps
-Configured multiple monitors (approx. 40).
Expected behavior
Only one Rocket.chat notification should be triggered per alert event.
Actual Behavior
Multiple notifications are triggered at the same time for the same alert condition, causing spam in Rocket.Chat.
@louislam commented on GitHub (Jan 26, 2026):
I checked the history, the logic implementation of rocket-chat almost had not been changed since 2021.
https://github.com/louislam/uptime-kuma/commits/master/server/notification-providers/rocket-chat.js
So it may not be related to rocket.chat. I will check the notification logic later, see if any pull requests cause this.
Btw, you are using an old nightly version, it could be buggy. You should upgrade to 2.1.0-beta.3.
@louislam commented on GitHub (Jan 26, 2026):
The notification logic had been modified a bit by #6745 on 2026-01-18. And your nightly version is 20260-01-21.
I have to investigate.
@nileshA-addweb commented on GitHub (Jan 26, 2026):
Do I try to upgrade to 2.1.0-beta.3 or wait for your updates?
@CommanderStorm commented on GitHub (Jan 26, 2026):
I don't think we recently merged anything that could affect this.
Upgrading is recomended though to prevent already resolved issues affecting you.
Could you make sure that you don't have a few monitors for this?
What are the logs?
@louislam commented on GitHub (Jan 26, 2026):
Yes, after reviewed #6745, I don't think it will introduce this bug. Plus I can't reproduce this issue on 2.1.0-beta.3.