Skip to content

Group retry count not working, notification sent after single errorΒ #6284

@mercury233

Description

@mercury233

πŸ“‘ I have found these related issues/pull requests

no

πŸ›‘οΈ Security Policy

πŸ“ Description

Image

I set the check frequency to 60 seconds and expected a notification only if errors persisted for 5 consecutive minutes, so I set the retry count to 5.
However, one item in the group encountered an error once and recovered in the next minute, yet I still received a notification.

πŸ‘Ÿ Reproduction steps

  • Create a Group monitor, set its Retries to 5, set a notification
  • Add a monitor to that group, set its Retries to 0, don't set any notification
  • That monitor encountered an error

πŸ‘€ Expected behavior

The group goes error after the monitor in it error, but the notification is not sent.
After 5 errors of the group, the notification is sent.

πŸ˜“ Actual Behavior

A notification is sent immediately after a single error.

🐻 Uptime-Kuma Version

2.0.2

πŸ’» Operating System and Arch

debian 12

🌐 Browser

chrome

πŸ–₯️ Deployment Environment

not related

πŸ“ Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedMay need your help to test or answer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions