mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Filter Alerts for Notification #2479
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#2479
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 @btmolloy on GitHub (Aug 16, 2023).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
UI Feature, Other
🔖 Feature description
Uptime Kuma is an amazing replacement for Uptime Robot as Kuma excels in places Uptime Robot can not. However, there are a few features that I really wish Kuma had, such as filtering of alerts. What I mean by this is the ability to filter what alerts are sent on a notification type. For example, I have a ton of sites that I like to monitor with Kuma, and Id love to be able to send SSL/Cert Alerts to one google chat, and the rest of the alerts to another chat. This would allow more organization of messages and allow a more efficient workflow. My current fix for this is very much a duck tape type fix where I essentially duplicated the google chat notification code and made one of them have server logic that only allows SSL messages to be sent and the other does the opposite.
✔️ Solution
A perfect solution for this would be some sort of checkbox or drop down on the Notification Setup menu that would allow for more configuration of what alerts will be sent through the notification method, (i.e. All, SSL/CERT ONLY, KEYWORD ONLY, 503 ERROR?).

❓ Alternatives
Im not sure of any alternative solutions for this issue. I have a duck tape type fix right now which can be seen in the attached image. I am NOT at all suggesting this is a viable solution, this is only what I had time for.

📝 Additional Context
No response
@CommanderStorm commented on GitHub (Aug 16, 2023):
An alternative is to use Grafana Oncall for your escalation needs (see #2783 => this will probably be avaliable in
v2.0)Oncall includes fully customisable routing of allerts

@btmolloy commented on GitHub (Aug 16, 2023):
Thank you for this alternative solution, Im going to look into this, although I'm curious if there is a more simple or primitive solution here. Louislam is the one who determines if suggested feature ideas are going to be looked into any further right?
@CommanderStorm commented on GitHub (Aug 16, 2023):
Currently not, but that is why you opened the
feature-request. ^^Yes, Louis has the final say on what gets merged.
If you'd like to implement such a feature, please
(filtering alerts to different channels is essentially a basic building block of an escalation system)
(rationale: saving time on your + Louis end)
tldr: Reasonable implementations of reasonable features are likely to get merged.
@CommanderStorm commented on GitHub (Aug 16, 2023):
Related #1315
Note that this feature-request is also a duplicate of https://github.com/louislam/uptime-kuma/issues/1233 / https://github.com/louislam/uptime-kuma/issues/1562 and partially https://github.com/louislam/uptime-kuma/issues/1137
@CommanderStorm commented on GitHub (Dec 4, 2023):
@btmolloy
We are consolidating duplicate issues a bit to make issue management easier.
I think, we should track this issue in #1233 as there is real functional difference.
Both issues target the ability to filter alerts.
⇒ I am going to close this as a duplicate.