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

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

Open
martialblog opened this issue Jul 25, 2024 · 1 comment
Open

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

martialblog opened this issue Jul 25, 2024 · 1 comment
Labels
area/representation Affects the representation of information

Comments

@martialblog
Copy link
Member

martialblog commented Jul 25, 2024

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

@nilmerg
Copy link
Member

nilmerg commented Jan 21, 2025

Yeah, we'd use colored icons instead.

@nilmerg nilmerg added the area/representation Affects the representation of information label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/representation Affects the representation of information
Projects
None yet
Development

No branches or pull requests

2 participants