Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.03k stars 578 forks source link

Scheduled Acknowledgment not removed after expire time #10245

Open rtdegraaf opened 3 days ago

rtdegraaf commented 3 days ago

When I acknowledge a service in a warning or critical state with an expire time via the webinterface, the acknowledged status is not removed after the expire time. Although the history tab of the service in the webinterface says “ACKNOWLEDGEMENT REMOVED”, the service is still acknowledged.

To Reproduce

  1. Acknowledge a service check in warning or ciritcal state and enable "Use Expire Time"
  2. Acknowledgement is not removed after the timestamp has expired

Expected behavior

In my opinion the acknowledgement should be removed and displayed as a critical service state, but this is not happening. Is this a bug?

Screenshots

Schermafbeelding 2024-11-15 163318 Schermafbeelding 2024-11-15 163634

Your Environment

Include as many relevant details about the environment you experienced the problem in

Additional context

A scheduled downtime with an expire time works as expected. The dowtime state is removed from the service when the expire time expires

yhabteab commented 3 days ago

Hi @rtdegraaf, thanks for reporting!

How does your service configuration look like? Do you have a huge check_interval configured or are active checks enabled at all for that service? The acknowledgement gets removed with the next check, but that may never happen if the service is not actively checked.

rtdegraaf commented 3 days ago

hi @yhabteab, thanks for your quick response. This issues applies to all services and hosts check, so I dont think it is a service specific issue. The check interval for this specific check is 60 minutes. But even when I do a manual recheck, the acknowledgement is not removed from the check. Only when the service state recovers to an OK state, the acknowledgement is removed.

Result after manual recheck and configuration overview: Schermafbeelding 2024-11-19 140807