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
retry_interval has no effect when soft-critical is triggered by a passive check result #6795
Comments
Proof as text or screenshot? |
Can anyone confirm or disconfirm this issue? I tried to proof my own bugreport wrong but unfortunately I am still able to reproduce this. |
The bug only happens when we submit the check result passively (IcingaWeb2/API). When the soft state is caused by an active check the retry_interval works as expected. |
Is this a problem with the IDO database backend and presented in Icinga Web 2, or does the REST API provide the same results for the |
The REST API also provides the same result.
|
Just a quick note from not-too-deep reading - the |
I think I manually verified that |
Just a thought - if you feed in passive check results via the API, the next expected check happens via the https://github.com/Icinga/icinga2/blob/master/lib/icinga/checkable-check.cpp#L344 |
Yes, I think that is exactly what is happening. Is this the expected behaviour? |
Yep, since passive checks are not actively scheduled. The only measurable time here is the next expected check result timestamp, which always is the check_interval by design. In 1.x there was a separate setting for that. |
Okay, I always assumed that a passive check result would also affect the next active check. |
Expected Behavior
check_interval
retry_interval
Current Behavior
check_interval
check_interval
. Visible in thelast check
andnext check
sections of Icingaweb2.Steps to Reproduce
I used the current standalone vagrant box to reproduce this with a minimal configuration: https://github.com/Icinga/icinga-vagrant/tree/master/standalone
As you can see above the Icinga2 object contains the correct
retry_value = 60
but according to Icingaweb2 the check is still executed every five minutes in soft-state.Your Environment
The current icinga-vagrant standalone box with Icinga2 2.10.2.
The text was updated successfully, but these errors were encountered: