No state check on recovery notification

Hello,

When debugging notification problem, I noticed that there is no state check on recovery notification.

[2026-11-12 11:00:47 +0100] debug/Notification: Type 'Problem', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=32, TypeFilter=511)
[2026-11-12 11:00:47 +0100] debug/Notification: State 'Critical', StateFilter: Critical, OK, Unknown and Warning (FState=4, StateFilter=15)
[2026-11-12 11:00:47 +0100] debug/Notification: User 'sbr' notification 'host!ssh!mail-service-notification', Type 'Problem', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=32, TypeFilter=511)
[2026-11-12 11:00:47 +0100] debug/Notification: User 'sbr' notification 'host!ssh!mail-service-notification', State 'Critical', StateFilter: Critical, Down, OK, Unknown, Up and Warning (FState=4, StateFilter=-1)
[2026-11-12 11:00:47 +0100] debug/Notification: Type 'Problem', TypeFilter: Problem and Recovery (FType=32, TypeFilter=96)
[2026-11-12 11:00:47 +0100] debug/Notification: State 'Critical', StateFilter: Critical, OK and Unknown (FState=4, StateFilter=13)
[2026-11-12 11:00:47 +0100] debug/Notification: User 'sbr' notification 'host!ssh!sms-service-notification', Type 'Problem', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=32, TypeFilter=96)
[2026-11-12 11:00:47 +0100] debug/Notification: User 'sbr' notification 'host!ssh!sms-service-notification', State 'Critical', StateFilter: Critical, Down, OK, Unknown, Up and Warning (FState=4, StateFilter=-1)


[2026-11-12 11:02:40 +0100] debug/Notification: Type 'Recovery', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=64, TypeFilter=511)
[2026-11-12 11:02:40 +0100] debug/Notification: User 'sbr' notification 'host!ssh!mail-service-notification', Type 'Recovery', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=64, TypeFilter=511)
[2026-11-12 11:02:40 +0100] debug/Notification: Type 'Recovery', TypeFilter: Problem and Recovery (FType=64, TypeFilter=96)
[2026-11-12 11:02:40 +0100] debug/Notification: User 'sbr' notification 'host!ssh!sms-service-notification', Type 'Recovery', TypeFilter: Acknowledgement, Custom, DowntimeEnd, DowntimeRemoved, DowntimeStart, FlappingEnd, FlappingStart, Problem and Recovery (FType=64, TypeFilter=96)

Is this normal behavior or did I find a bug ?

icinga version 2.16.5-1 on FreeBSD 14.4

Regards,

Stéphane

i think that’s normal, a recovery only fires when it’s back to ok so there’s no state left to filter on. the type filter is the one doing the work there.

Hi Rachel,

Thank you for your reply, that makes sense.

Regards,

Stéphane