]> granicus.if.org Git - icinga2/commit
Trigger downtimes for NOT-OK states after OnDowntimeAdded()
authorMichael Friedrich <michael.friedrich@netways.de>
Sun, 12 Apr 2015 12:38:35 +0000 (14:38 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Sun, 12 Apr 2015 12:38:35 +0000 (14:38 +0200)
commit37f24592edf603c429bce35b8ae89e6b432cb7e2
tree13b5052b36b6a053e215c4a729239162230ca77f
parent3fc890a2da47597cfb12c5c297b3d738ff9915c3
Trigger downtimes for NOT-OK states after OnDowntimeAdded()

The fix in #8389 must happen *after* adding the downtime which signals an
insert into the IDO DB.
Once the downtimes have been added to the database, the additional
trigger_time and is_in_effect can be updated accordingly, *if* the
current object is already in a NOT-OK state.

fixes #9016
lib/icinga/checkable-downtime.cpp