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

Improve handling of an alert that transitions to the REMOVED state #17621

Merged
merged 1 commit into from
May 9, 2024

Conversation

stelfrag
Copy link
Collaborator

@stelfrag stelfrag commented May 9, 2024

Summary

In a claimed parent and child agent setup, when a child disconnects, all the child's alerts are removed. Up until now the REMOVED alert transition was not submitted to the cloud. This can result in an inconsistency when viewing alerts on the cloud dashboard.

This PR changes this behavior to send the REMOVED alert transition to the cloud if previous status of the alert is WARNING or CRITICAL.

@stelfrag stelfrag marked this pull request as ready for review May 9, 2024 15:45
Copy link
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is working as expected, I am receiving my alerts normally LGTM!

@ilyam8 ilyam8 merged commit f51f457 into netdata:master May 9, 2024
151 of 153 checks passed
@stelfrag stelfrag deleted the alert_rem_status_to_cloud branch May 10, 2024 06:51
stelfrag added a commit to stelfrag/netdata that referenced this pull request May 17, 2024
@stelfrag stelfrag mentioned this pull request May 17, 2024
Ferroin pushed a commit that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants