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

icinga2: Common Muted Event for Acknowledgements w/o Comments during Catch-Up #246

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Jul 19, 2024

When creating an acknowledgement in Icinga Web, a comment is also added. It is possible, however, to later delete the comment while keeping the object acknowledged.

Deleting acknowledgement comments was not an expected behavior, requiring the presence of an associated comment for each acknowledgement. Otherwise, the catch-up-phase would not succeed.

Unfortunately, there is no way to later add an author to an acknowledgement unless a matching comment exists. Thus, the catch-up-phase will now generalize this acknowledgement into a common muted event, missing the details available in the comment.

Closes #245.

@oxzi oxzi added the bug Something isn't working label Jul 19, 2024
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Jul 19, 2024
@oxzi oxzi assigned oxzi and unassigned oxzi Jul 19, 2024
@oxzi oxzi changed the title icinga2: Skip Acknowledgements without Comments during Catch-Up icinga2: Common Muted Event for Acknowledgements w/o Comments during Catch-Up Jul 19, 2024
@oxzi oxzi requested a review from julianbrost July 19, 2024 15:07
internal/icinga2/client_api.go Outdated Show resolved Hide resolved
internal/icinga2/client_api.go Outdated Show resolved Hide resolved
…Catch-Up

When creating an acknowledgement in Icinga Web, a comment is also added.
It is possible, however, to later delete the comment while keeping the
object acknowledged.

Deleting acknowledgement comments was not an expected behavior,
requiring the presence of an associated comment for each
acknowledgement. Otherwise, the catch-up-phase would not succeed.

Unfortunately, there is no way to later add an author to an
acknowledgement unless a matching comment exists. Thus, the
catch-up-phase will now generalize this acknowledgement into a common
muted event, missing the details available in the comment.

Closes #245.
@oxzi oxzi requested a review from yhabteab July 22, 2024 07:59
@julianbrost julianbrost merged commit f8c9fe1 into main Jul 22, 2024
26 checks passed
@julianbrost julianbrost deleted the ack-misses-comment-i245 branch July 22, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Icinga 2 source does not work if any acknowledged checkable misses the corresponding comment
3 participants