-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[groups] Conditional monitoring #2487
Comments
Isn't it sufficient to just monitor the Website? If the DB is down, the Website would be down as well. Unless I misunderstand the setup. |
In general I like the idea. In detail it might get quite complex quite fast. There are other feature requests already suggested where one can define dependent monitors( #1236 ), so if monitor a is down, then monitor b will also not work and should not be checked separately (and alerted separately). One possible solution, in a direction as @michield suggested (outside uptime-kuma):
For some more details and examples please take a look at the eclipse documentation: |
My use case may be a little more simplified than what you all would use this for but for example.. .i'm monitoring my home internet connection along side services within my LAN.. if my internet connection is down then i don't need notifications for everything inside my LAN.. so for me i'd only need a 2 tiered option.. |
+1 on this request. Use case would be e.g. for multiple servers running in a cluster. If one of them fails I can display an outage via only one monitor on a status page. Or just send a notification if all of the monitors (could be multiple redundant switches in my core network) in one condition fail. |
also +1. The ideal feature for me would allow association with the parent monitor, e.g. ping. If the ping monitor is down, none of the below service specific monitors get notified on. should just be able to select parent when creating a new monitor. This way for the basic use case of "is host on the network?" no, then all the http/tcp service monitors in place don't notify, which make incident response more actionable (host is offline, don't worry about the services until the host issue is resolved) |
+1 on this. While I can see the arguement for creating monitors that are simple and highlight any subordinate issues, it does sometimes help to have structural dependencies. e.g. had 1 monitor for http call (to track internet availablity) failing, all subsesequent fault finding showed DNS issue on the Uptime Kuma system, spent 30 mins tracking down DNS issues when suddenly realised the Kuma system gets external DNS through site-to-site VPN. The VPN was down.... Would be a nice to have to link monitors showing clear relationships. |
I will share that this is valuable beyond the original post usecase. For example, I want to test connectivity to the internet and only send alerts if "internet" is up. Furthermore, I want to test if the edge router for my remote network is up before sending alerts for services behind it. |
I think #2693 (to be merged in https://github.com/louislam/uptime-kuma/milestone/31) will solve this issue. From a UX perspective, I think Conditional Monitors could easily get very confusing. |
A suggestion for the ui, would simply be a depends-on button for a node(showing status of depended-on nodes i.e. down/red if any depended-on node is affected). The button could maybe trigger a popup(I know...terrible UI but quick), that displays links to one or more depended-on nodes(including their current status). |
I dont think the popup would solve the problem of having
I don't fully get what you mean by the folder structure. |
The dialogue I'm suggesting could look like this mockup
Then when opening dependent settings for any other monitor, WebApp could not be selected as a dependent. However a monitor could be a dependent for multiple master services.
This would allow any number of apps to depend on one master monitor, and prevent a master monitor from being dependent on any other, including loop scenario. This has some limitations, where a line of legitimate dependencies (i.e. monitoring remote service which depends on internet, monitor which depends on the local router) however that would require testing the whole relationship chain for loops. This achieves the goal to minimize Down notifications while potentially minimizing complexity. Just my 0.03$ adjusted for inflation |
Not sure if it is similar to this, but in systems like WhatsUP Gold, PRTG, Zabbix, there is an option for device dependencies, I can set a parent monitor and in case of its down or paused, its childs status will be ignored. |
Sort of. I used to use What'sup Gold in my DevOps days. My idea sort of
combines that relationship dependency to enable a sort of "if this and that
then this must be at fault" then activate this notification sort of
monitoring.
I'd be happy with the parent dependency thing too, it would still improve
the product.
…On Wed, 5 Jul 2023 at 15:24, Marcio Zimbres ***@***.***> wrote:
Not sure if it is similar to this, but in systems like WhatsUP Gold, PRTG,
Zabbix, there is an option for device dependencies, I can set a parent
monitor and in case of its down or paused, its childs status will be
ignored.
—
Reply to this email directly, view it on GitHub
<#2487 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOLMKVGSJGSK54KD5B4WA3XOV2KRANCNFSM6AAAAAATKWCGYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Would it simply be enough to allow a service to be assigned to multiple groups? I think all the usecases presented here would be covered, except the advanced conditional processing part—but I am not sure what real benefit that would provide over multi-grouping. |
🏷️ Feature Request Type
New Monitor
🔖 Feature description
A Monitor, that uses other Monitors as a and/or condition.
✔️ Solution
Add another Monitor, where you can select other Monitors as condition
Example:
I have an application, with a Database and a Webserver, but I want users to only see the application as a whole on their Status Page. So why not make a Monitor where I can select the Database Monitor (Docker Monitor) and the Webserver Monitor (Ping) and combine them into one called “Application”, then I have to set the condition for example “or” so if the Database or the Webserver are down the whole Application is displayed as being down.
❓ Alternatives
No response
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: