Icinga/icinga-notifications-web

Incident History says it contacted a user when it didn't

Opened this issue · 0 comments

The Incident History could display errors when contacting users more prominently. When there's an error it only shows a tiny (failed) indicator.

screenshot_2024-07-25-122539

I created a Contact without any address, added it to an Event Rule and used "Default User Channel"

The backend shows the error more clearly:

2024-07-25T10:24:43.497Z	INFO	incident	Notify contact "Some Dude called Mike" via "MailHog" of type "email"	{"object": "icinga.vagrant!SomeURL", "incident": "#22", "channel_id": 1, "event_type": "state"}
2024-07-25T10:24:43.498Z	ERROR	incident	Failed to send notification via channel plugin	{"object": "icinga.vagrant!SomeURL", "incident": "#22", "type": "email", "error": "contact user Some Dude called Mike does not have an e-mail address"}

EDIT: To be clearer, what I mean is the successful Contact looks very/too similar to the unsuccessful