We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d2f3b commit a1175d1Copy full SHA for a1175d1
1 file changed
lib/icingadb/icingadb-objects.cpp
@@ -3097,6 +3097,12 @@ void IcingaDB::ReachabilityChangeHandler(const std::set<Checkable::Ptr>& childre
3097
for (const IcingaDB::Ptr& rw : ConfigType::GetObjectsByType<IcingaDB>()) {
3098
for (auto& checkable : children) {
3099
rw->UpdateState(checkable, StateUpdate::Full);
3100
+ if (auto grandChildren(checkable->GetChildren()); !grandChildren.empty()) {
3101
+ // Icinga DB Web needs to know about the reachability of all children, not just the direct ones.
3102
+ // These might get updated with their next check result anyway, but we can't rely on that, since
3103
+ // they might not be actively checked or have a very high check interval.
3104
+ IcingaDB::ReachabilityChangeHandler(grandChildren);
3105
+ }
3106
}
3107
3108
0 commit comments