We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1683249 commit 2889822Copy full SHA for 2889822
1 file changed
lib/icingadb/icingadb-objects.cpp
@@ -3061,6 +3061,12 @@ void IcingaDB::ReachabilityChangeHandler(const std::set<Checkable::Ptr>& childre
3061
for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
3062
for (auto& checkable : children) {
3063
rw->UpdateState(checkable, StateUpdate::Full);
3064
+ if (auto grandChildren(checkable->GetChildren()); !grandChildren.empty()) {
3065
+ // Icinga DB Web needs to know about the reachability of all children, not just the direct ones.
3066
+ // These might get updated with their next check result anyway, but we can't rely on that, since
3067
+ // they might not be actively checked or have a very high check interval.
3068
+ IcingaDB::ReachabilityChangeHandler(grandChildren);
3069
+ }
3070
}
3071
3072
0 commit comments