diff --git a/library/Icingadb/Model/UnreachableParent.php b/library/Icingadb/Model/UnreachableParent.php index 9ceaa6517..adc30666c 100644 --- a/library/Icingadb/Model/UnreachableParent.php +++ b/library/Icingadb/Model/UnreachableParent.php @@ -154,7 +154,7 @@ private static function selectNodes(Connection $db, Model $root): Select ]); $nodeQuery->filter(Filter::any( Filter::equal('dependency.state.failed', 'y'), - Filter::equal('to.redundancy_group.state.failed', 'y') + Filter::equal('to.redundancy_group.state.is_reachable', 'n') )); $nodeSelect = $nodeQuery->assembleSelect();