Skip to content

Conversation

@yhabteab
Copy link
Member

@yhabteab yhabteab commented Nov 6, 2025

As just discussed with @nilmerg about this, Icinga Notifications shouldn't be concerned with Icinga 2 specific event types like downtime or flapping anymore. These event types are specific to Icinga 2 and Icinga DB as a source should translate these into more generic event types mute and unmute respectively. This applies to acknowledgements as well, but since we don't have a direct mapping for those yet and Johannes wasn't entirely sure about that either, I'll leave those as-is for now.

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Nov 6, 2025
@yhabteab yhabteab force-pushed the drop-icinga-spec-event-types branch from 9e16cfa to e3863e4 Compare November 6, 2025 10:13
@yhabteab yhabteab added this to the 0.8.0 milestone Nov 6, 2025
@yhabteab yhabteab force-pushed the drop-icinga-spec-event-types branch from e3863e4 to 248e7d2 Compare November 6, 2025 11:46
@yhabteab
Copy link
Member Author

yhabteab commented Nov 6, 2025

Since these changes break the Icinga DB PR of you as it's making use of the just removed event types, I'll let you review this @oxzi.

@yhabteab yhabteab requested a review from oxzi November 6, 2025 11:46
@julianbrost
Copy link
Contributor

Is this important in any way and if so, why? (I'm wondering why this is now coming up on short notice...)

@yhabteab
Copy link
Member Author

yhabteab commented Nov 6, 2025

Is this important in any way and if so, why?

It's not that important, but there won't be any special handling for these types in Notifications either. I didn't even knew that these types will be dropped from Icinga Notifications.

(I'm wondering why this is now coming up on short notice...)

Short notice? To my limited knowledge, this isn't something new but was already planned, and I've opened this as soon as I informed about it too. If you don't want that, then just ignore it, I don't mind.

@julianbrost
Copy link
Contributor

I didn't even knew that these types will be dropped from Icinga Notifications.

Neither am I aware of any recent communication on this. So if there randomly appears a "As just discussed with @nilmerg" PR, that makes me wonder if that's another "that should be changed because Icinga Notifications Web needs that for whatever reason" change, but for that, it misses more explanation.

Icinga Notifications shouldn't be concerned with Icinga 2 specific event types like downtime or flapping anymore. These event types are specific to Icinga 2 and Icinga DB as a source should translate these into more generic event types mute and unmute respectively.

Yes and no. Icinga Notifications should not be overly specific on Icinga 2, but on the other hand, it's supposed to eventually be able to do what native Icinga 2 notifications can do at the moment, which includes being able to route these notification types differently. Thus, these different event types were included to have something that we could later build filters on.

That doesn't mean that this must be part of the main event type. So without a concrete reason why having these types is a problem now or with a better plan on how to do this, I don't see why we should change this now.

@julianbrost julianbrost removed the request for review from oxzi November 6, 2025 15:56
@yhabteab yhabteab removed this from the 0.8.0 milestone Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants