diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php index 808b3f2cd8..3f59b4a84f 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php @@ -30,7 +30,7 @@ protected function joinBaseTables() { parent::joinBaseTables(true); $this->select->where( - "hdh.actual_end_time > '1970-01-02 00:00:00' AND hdh.was_started = 1 AND hdh.was_cancelled = 0" + "hdh.actual_end_time > '1970-01-02 00:00:00' AND hdh.was_started = 1" ); $this->columnMap['downtimehistory']['type'] = "('dt_end')"; $this->columnMap['downtimehistory']['timestamp'] = str_replace( diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimestarthistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimestarthistoryQuery.php index a6f97e703d..18a72ee2cb 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimestarthistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimestarthistoryQuery.php @@ -103,7 +103,7 @@ protected function joinBaseTables() ); } $this->select->where( - "hdh.was_started = 1 AND hdh.was_cancelled = 0" + "hdh.was_started = 1" ); $this->joinedVirtualTables['downtimehistory'] = true; } diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php index 6243829444..131bbc6a73 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php @@ -30,7 +30,7 @@ protected function joinBaseTables() { parent::joinBaseTables(true); $this->select->where( - "sdh.actual_end_time > '1970-01-02 00:00:00' AND sdh.was_started = 1 AND sdh.was_cancelled = 0" + "sdh.actual_end_time > '1970-01-02 00:00:00' AND sdh.was_started = 1" ); $this->columnMap['downtimehistory']['type'] = "('dt_end')"; $this->columnMap['downtimehistory']['timestamp'] = str_replace( diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimestarthistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimestarthistoryQuery.php index b8805fe8d4..16189105a4 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimestarthistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimestarthistoryQuery.php @@ -104,7 +104,7 @@ protected function joinBaseTables() ); } $this->select->where( - "sdh.was_started = 1 AND sdh.was_cancelled = 0" + "sdh.was_started = 1" ); $this->joinedVirtualTables['downtimehistory'] = true;