monitoring: Let the host group summary provide the column hosts_severity
refs #8241
This commit is contained in:
parent
bbed2cffae
commit
37abc724de
|
@ -22,6 +22,7 @@ class Hostgroupsummary extends DataView
|
||||||
'hosts_down_unhandled',
|
'hosts_down_unhandled',
|
||||||
'hosts_pending',
|
'hosts_pending',
|
||||||
'hosts_pending_last_state_change',
|
'hosts_pending_last_state_change',
|
||||||
|
'hosts_severity',
|
||||||
'hosts_total',
|
'hosts_total',
|
||||||
'hosts_unreachable_handled',
|
'hosts_unreachable_handled',
|
||||||
'hosts_unreachable_last_state_change_handled',
|
'hosts_unreachable_last_state_change_handled',
|
||||||
|
@ -52,16 +53,16 @@ class Hostgroupsummary extends DataView
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getSearchColumns()
|
public static function getQueryName()
|
||||||
{
|
{
|
||||||
return array('hostgroup', 'hostgroup_alias');
|
return 'groupsummary';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function getQueryName()
|
public function getSearchColumns()
|
||||||
{
|
{
|
||||||
return 'groupsummary';
|
return array('hostgroup', 'hostgroup_alias');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue