diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeendhistoryQuery.php index 808b3f2cd..3f59b4a84 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 @@ class HostdowntimeendhistoryQuery extends HostdowntimestarthistoryQuery { 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 a6f97e703..18a72ee2c 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 @@ class HostdowntimestarthistoryQuery extends IdoQuery ); } $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 624382944..131bbc6a7 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 @@ class ServicedowntimeendhistoryQuery extends ServicedowntimestarthistoryQuery { 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 b8805fe8d..16189105a 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 @@ class ServicedowntimestarthistoryQuery extends IdoQuery ); } $this->select->where( - "sdh.was_started = 1 AND sdh.was_cancelled = 0" + "sdh.was_started = 1" ); $this->joinedVirtualTables['downtimehistory'] = true;