mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
Merge pull request #9131 from Icinga/bugfix/dont-trigger-fixed-downtime-as-flexible
Don't trigger a fixed downtime like a flexible one
This commit is contained in:
commit
eb0d1fc823
@ -127,7 +127,7 @@ void Downtime::Start(bool runtimeCreated)
|
|||||||
* this downtime now *after* it has been added (important
|
* this downtime now *after* it has been added (important
|
||||||
* for DB IDO, etc.)
|
* for DB IDO, etc.)
|
||||||
*/
|
*/
|
||||||
if (!checkable->IsStateOK(checkable->GetStateRaw())) {
|
if (!GetFixed() && !checkable->IsStateOK(checkable->GetStateRaw())) {
|
||||||
Log(LogNotice, "Downtime")
|
Log(LogNotice, "Downtime")
|
||||||
<< "Checkable '" << checkable->GetName() << "' already in a NOT-OK state."
|
<< "Checkable '" << checkable->GetName() << "' already in a NOT-OK state."
|
||||||
<< " Triggering downtime now.";
|
<< " Triggering downtime now.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user