Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notifications which group a child is in #4258

Open
2 tasks done
lifewcody opened this issue Dec 19, 2023 · 2 comments · May be fixed by #5192
Open
2 tasks done

notifications which group a child is in #4258

lifewcody opened this issue Dec 19, 2023 · 2 comments · May be fixed by #5192
Labels
area:monitor Everything related to monitors area:notifications Everything related to notifications feature-request Request for new features to be added

Comments

@lifewcody
Copy link

lifewcody commented Dec 19, 2023

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hello,

For the notification-provider.js, there is monitorJSON which has the monitor, and you can do monitorJSON.name

However, we have a nested monitor like:

Client
|-> Location
     |-> Firewall

When we receive an alert, it shows “Firewall” which is unhelpful. Is there a way we can get Client / Location?

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.13

💻 Operating System and Arch

Ubuntu 22.04 x64

🌐 Browser

N/A

🐋 Docker Version

No response

🟩 NodeJS Version

No response

@lifewcody lifewcody added the help label Dec 19, 2023
@CommanderStorm
Copy link
Collaborator

Related #3278

@CommanderStorm CommanderStorm added area:monitor Everything related to monitors area:notifications Everything related to notifications labels Dec 21, 2023
@CommanderStorm CommanderStorm changed the title monitorJSON, get group notifications which group a child is in Dec 21, 2023
@CommanderStorm CommanderStorm added feature-request Request for new features to be added and removed help labels Dec 21, 2023
@alkcbs
Copy link

alkcbs commented Jun 7, 2024

To pull my thoughts from #4829 here, I'd love to see nested items within a group being able to have individual notifications off, while notifications for the group is on, and if something goes down, the group notification would specify what went down rather than just saying "child inaccessible." This would be for situations such as:

-Location (group)
--Server1 (child)
--Server2 (child)
--Firewall (child)

If one server goes down, one notification at the Location level, saying which server is down. If the firewall goes down (taking the servers with it), one notification at the Location level, listing all 3 children as down. As it sits, these would generate 2 and 4 emails for the scenarios if all alerts are enabled.

Slightly different way of doing things, alerting from the top level instead of the child, but similar outcome.

@julian-piehl julian-piehl linked a pull request Oct 16, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors area:notifications Everything related to notifications feature-request Request for new features to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants