Skip to content

[groups] Boolean OR operand to get notification for total failure of redundant systems #3387

@ChrissoChrisso

Description

@ChrissoChrisso

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

This feature would allow notification of total failure of redundant systems.

Many networking protocols (eg. NTP, DNS, RADIUS, TACACS+, SNMP, etc...) allow for use of multiple redundant server IP addresses with a goal of offering resiliency. A use case for this new feature would be to Group monitor all redundant IP addresses for a given protocol or system, and be notified in case of simultaneous failure of all redundant servers in that Group.

For example, a Primary NTP server IP address and a Secondary NTP server IP address could be added to a Group, which notifies Down only while both the primary and secondary IPs are simultaneously down to inform that NTP service is totally down.

Currently in version 1.22.1 the Group functionality monitors Group members using the AND operand, meaning if Group members (a) AND (b) AND (c) are up, the Group reports as UP. If one of the redundant IPs are down, the Group undesirably reports as down, even thought the service overall still works because of the redundant IPs that are still up...

This feature request is to allow Groups to be monitored using the OR operand, meaning if Group members (a) OR (b) OR (c) are up, the Group reports as UP. If Uptime-Kuma followed the OR operand rather than the AND operand while group monitoring, it would enable notifications for total failure of redundant systems.

Initially I raised this as a configuration help question, and it was suggested to add as a feature request #3382

Many thanks for this awesome software. If any questions, or ideas please ask.

✔️ Solution

An implementation idea that maybe would be easy? is to split the single "Group" option here:
image

into 2 options: "Group (using Boolean AND)" and "Group (using Boolean OR)".
"Group (using Boolean AND)" would match the current functionality which appears to follow the AND operator.
"Group (using Boolean OR)" would match the desired functionality of using the OR operator.

Again, many thanks for your help, and I really appreciate this cool software.

❓ Alternatives

To my knowledge, work-arounds to achieve this do not exist.

📝 Additional Context

If any questions, please ask. I really appreciate this software.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:monitorIssues or PRs related to monitorsfeature-requestRequest for new features to be addedtype:newproposing to add a new monitor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions