monitoring: Restrict the service group overview

refs #9009
This commit is contained in:
Eric Lippmann 2015-06-03 12:54:25 +02:00
parent 6588c73b4e
commit fe488c7b77
1 changed files with 9 additions and 6 deletions

View File

@ -481,8 +481,8 @@ class Monitoring_ListController extends Controller
'servicegroup_alias',
'servicegroup_name',
'services_critical_handled',
'services_critical_last_state_change_handled',
'services_critical_last_state_change_unhandled',
'services_critical_last_state_change_handled' => 'services_critical_handled_last_state_change',
'services_critical_last_state_change_unhandled' => 'services_critical_unhandled_last_state_change',
'services_critical_unhandled',
'services_ok',
'services_ok_last_state_change',
@ -490,15 +490,18 @@ class Monitoring_ListController extends Controller
'services_pending_last_state_change',
'services_total',
'services_unknown_handled',
'services_unknown_last_state_change_handled',
'services_unknown_last_state_change_unhandled',
'services_unknown_last_state_change_handled' => 'services_unknown_handled_last_state_change',
'services_unknown_last_state_change_unhandled' => 'services_unknown_unhandled_last_state_change',
'services_unknown_unhandled',
'services_warning_handled',
'services_warning_last_state_change_handled',
'services_warning_last_state_change_unhandled',
'services_warning_last_state_change_handled' => 'services_warning_handled_last_state_change',
'services_warning_last_state_change_unhandled' => 'services_warning_unhandled_last_state_change',
'services_warning_unhandled'
));
$this->filterQuery($query);
$this->applyRestriction('monitoring/filter/objects', $query);
$this->view->servicegroups = $query;
$this->setupLimitControl();