Skip to content

Acknowledgement from nonexistent Contact causes error #259

@martialblog

Description

@martialblog

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\""}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions