monitoring: Let the host group summary provide the column hosts_severity

refs #8241
This commit is contained in:
Eric Lippmann 2015-05-21 11:24:31 +02:00
parent bbed2cffae
commit 37abc724de
1 changed files with 5 additions and 4 deletions

View File

@ -22,6 +22,7 @@ class Hostgroupsummary extends DataView
'hosts_down_unhandled',
'hosts_pending',
'hosts_pending_last_state_change',
'hosts_severity',
'hosts_total',
'hosts_unreachable_handled',
'hosts_unreachable_last_state_change_handled',
@ -52,16 +53,16 @@ class Hostgroupsummary extends DataView
/**
* {@inheritdoc}
*/
public function getSearchColumns()
public static function getQueryName()
{
return array('hostgroup', 'hostgroup_alias');
return 'groupsummary';
}
/**
* {@inheritdoc}
*/
public static function getQueryName()
public function getSearchColumns()
{
return 'groupsummary';
return array('hostgroup', 'hostgroup_alias');
}
}