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

Acknowledgement from nonexistent Contact causes error #259

Open
martialblog opened this issue Jul 25, 2024 · 0 comments
Open

Acknowledgement from nonexistent Contact causes error #259

martialblog opened this issue Jul 25, 2024 · 0 comments

Comments

@martialblog
Copy link
Member

Hi,

I noticed the following:

I have an Event Rule with a simple Service filter and no condition and a Contact "Foo" as recipient.

When I acknowledge this Icinga2 Service in Icinga2 as user "admin" the "Foo" recipient is not notified (don't know if this is expected behavior or not?).

The daemon still throws both a Warning and an Error. A single Warning is probably maybe what I expect:

2024-07-25T09:54:57.553Z	INFO	incident	Muting incident	{"object": "icinga.vagrant!SomeURL", "incident": "#19", "event": "[time=2024-07-25 09:54:57.55160773 +0000 UTC m=+2705.366211443 type=\"acknowledgement-set\" severity=]", "reason": "Checkable acknowledged by \"admin\": ACK ACK ACK"}
2024-07-25T09:54:57.554Z	WARN	incident	Ignoring acknowledgement event from an unknown author	{"object": "icinga.vagrant!SomeURL", "incident": "#19", "author": "admin"}
2024-07-25T09:54:57.554Z	ERROR	icinga2	Cannot process event	{"source_id": 1, "event": "[time=2024-07-25 09:54:57.55160773 +0000 UTC m=+2705.366211443 type=\"acknowledgement-set\" severity=]", "error": "unknown acknowledgment author \"admin\""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant