monitoring: Move "Service Grid" beneath "Problems"
The service grid is filtered by problems by default. Thus it makes sense to move it beneath the problems section.
This commit is contained in:
parent
ad4ebf8fa5
commit
f2d639108f
|
@ -87,29 +87,36 @@ $this->provideSearchUrl($this->translate('Servicegroups'), 'monitoring/list/serv
|
||||||
* Problems Section
|
* Problems Section
|
||||||
*/
|
*/
|
||||||
$section = $this->menuSection($this->translate('Problems'), array(
|
$section = $this->menuSection($this->translate('Problems'), array(
|
||||||
'renderer' => 'ProblemMenuItemRenderer',
|
'renderer' => 'ProblemMenuItemRenderer',
|
||||||
'icon' => 'block',
|
'icon' => 'block',
|
||||||
'priority' => 20
|
'priority' => 20
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Unhandled Hosts'), array(
|
$section->add($this->translate('Unhandled Hosts'), array(
|
||||||
'renderer' => 'UnhandledHostMenuItemRenderer',
|
'renderer' => 'UnhandledHostMenuItemRenderer',
|
||||||
'url' => 'monitoring/list/hosts?host_problem=1&host_handled=0',
|
'url' => 'monitoring/list/hosts?host_problem=1&host_handled=0',
|
||||||
'priority' => 40
|
'priority' => 30
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Unhandled Services'), array(
|
$section->add($this->translate('Unhandled Services'), array(
|
||||||
'renderer' => 'UnhandledServiceMenuItemRenderer',
|
'renderer' => 'UnhandledServiceMenuItemRenderer',
|
||||||
'url' => 'monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity',
|
'url' => 'monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity',
|
||||||
'priority' => 40
|
'priority' => 40
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Host Problems'), array(
|
$section->add($this->translate('Host Problems'), array(
|
||||||
'url' => 'monitoring/list/hosts?host_problem=1&sort=host_severity',
|
'url' => 'monitoring/list/hosts?host_problem=1&sort=host_severity',
|
||||||
'priority' => 50
|
'priority' => 50
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Service Problems'), array(
|
$section->add($this->translate('Service Problems'), array(
|
||||||
'url' => 'monitoring/list/services?service_problem=1&sort=service_severity&dir=desc',
|
'url' => 'monitoring/list/services?service_problem=1&sort=service_severity&dir=desc',
|
||||||
'priority' => 50
|
'priority' => 60
|
||||||
|
));
|
||||||
|
$section->add($this->translate('Service Grid'), array(
|
||||||
|
'url' => 'monitoring/list/servicegrid?service_problem=1',
|
||||||
|
'priority' => 70
|
||||||
|
));
|
||||||
|
$section->add($this->translate('Current Downtimes'), array(
|
||||||
|
'url' => 'monitoring/list/downtimes?downtime_is_in_effect=1',
|
||||||
|
'priority' => 80
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Current Downtimes'))->setUrl('monitoring/list/downtimes?downtime_is_in_effect=1');
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Overview Section
|
* Overview Section
|
||||||
|
@ -130,10 +137,6 @@ $section->add($this->translate('Services'), array(
|
||||||
'url' => 'monitoring/list/services',
|
'url' => 'monitoring/list/services',
|
||||||
'priority' => 50
|
'priority' => 50
|
||||||
));
|
));
|
||||||
$section->add($this->translate('Service Grid'), array(
|
|
||||||
'url' => 'monitoring/list/servicegrid?service_problem=1',
|
|
||||||
'priority' => 51
|
|
||||||
));
|
|
||||||
$section->add($this->translate('Servicegroups'), array(
|
$section->add($this->translate('Servicegroups'), array(
|
||||||
'url' => 'monitoring/list/servicegroups',
|
'url' => 'monitoring/list/servicegroups',
|
||||||
'priority' => 60
|
'priority' => 60
|
||||||
|
|
Loading…
Reference in New Issue