monitoring: Use soft states in the host group summary again

refs #9009
This commit is contained in:
Eric Lippmann 2015-06-05 15:00:14 +02:00
parent dae35b9106
commit 2e059a9bb7

View File

@ -92,8 +92,8 @@ class HostgroupsummaryQuery extends IdoQuery
'hostgroup_name',
'object_type',
'severity' => 'host_severity',
'state' => 'host_hard_state',
'state_change' => 'host_last_hard_state_change'
'state' => 'host_state',
'state_change' => 'host_last_state_change'
)
);
$this->subQueries[] = $hosts;
@ -106,8 +106,8 @@ class HostgroupsummaryQuery extends IdoQuery
'hostgroup_name',
'object_type',
'severity' => new Zend_Db_Expr('NULL'),
'state' => 'service_hard_state',
'state_change' => 'service_last_hard_state_change'
'state' => 'service_state',
'state_change' => 'service_last_state_change'
)
);
$this->subQueries[] = $services;