diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php index 7688d9292..e3524fc58 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostgroupsummaryQuery.php @@ -113,7 +113,7 @@ class HostgroupsummaryQuery extends IdoQuery $this->subQueries[] = $services; $this->summaryQuery = $this->db->select()->union(array($hosts, $services), Zend_Db_Select::SQL_UNION_ALL); $this->select->from(array('statussummary' => $this->summaryQuery), array()); - $this->group('hostgroup_name'); + $this->group(array('hostgroup_name', 'hostgroup_alias')); $this->joinedVirtualTables['hoststatussummary'] = true; }