monitoring: Provide a priority of 50 to 100 for the default dashboards

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-15 13:55:24 +02:00
parent ccae7c4d0d
commit bc57f9b613
1 changed files with 6 additions and 6 deletions

View File

@ -238,7 +238,7 @@ $section->add($this->translate('Monitoring Health'), array(
/* /*
* Current Incidents * Current Incidents
*/ */
$dashboard = $this->dashboard($this->translate('Current Incidents')); $dashboard = $this->dashboard($this->translate('Current Incidents'), array('priority' => 50));
$dashboard->add( $dashboard->add(
$this->translate('Service Problems'), $this->translate('Service Problems'),
'monitoring/list/services?service_problem=1&limit=10&sort=service_severity' 'monitoring/list/services?service_problem=1&limit=10&sort=service_severity'
@ -255,7 +255,7 @@ $dashboard->add(
/* /*
* Overview * Overview
*/ */
$dashboard = $this->dashboard($this->translate('Overview')); $dashboard = $this->dashboard($this->translate('Overview'), array('priority' => 60));
$dashboard->add( $dashboard->add(
$this->translate('Service Grid'), $this->translate('Service Grid'),
'monitoring/list/servicegrid?limit=15,18' 'monitoring/list/servicegrid?limit=15,18'
@ -272,7 +272,7 @@ $dashboard->add(
/* /*
* Most Overdue * Most Overdue
*/ */
$dashboard = $this->dashboard($this->translate('Overdue')); $dashboard = $this->dashboard($this->translate('Overdue'), array('priority' => 70));
$dashboard->add( $dashboard->add(
$this->translate('Late Host Check Results'), $this->translate('Late Host Check Results'),
'monitoring/list/hosts?host_next_update<now' 'monitoring/list/hosts?host_next_update<now'
@ -293,7 +293,7 @@ $dashboard->add(
/* /*
* Muted Objects * Muted Objects
*/ */
$dashboard = $this->dashboard($this->translate('Muted')); $dashboard = $this->dashboard($this->translate('Muted'), array('priority' => 80));
$dashboard->add( $dashboard->add(
$this->translate('Disabled Service Notifications'), $this->translate('Disabled Service Notifications'),
'monitoring/list/services?service_notifications_enabled=0&limit=10' 'monitoring/list/services?service_notifications_enabled=0&limit=10'
@ -322,7 +322,7 @@ $dashboard->add(
/* /*
* Activity Stream * Activity Stream
*/ */
$dashboard = $this->dashboard($this->translate('Activity Stream')); $dashboard = $this->dashboard($this->translate('Activity Stream'), array('priority' => 90));
$dashboard->add( $dashboard->add(
$this->translate('Recent Events'), $this->translate('Recent Events'),
'monitoring/list/eventhistory?timestamp>=-3%20days&sort=timestamp&dir=desc&limit=8' 'monitoring/list/eventhistory?timestamp>=-3%20days&sort=timestamp&dir=desc&limit=8'
@ -347,7 +347,7 @@ $dashboard->add(
/* /*
* Stats * Stats
*/ */
$dashboard = $this->dashboard($this->translate('Stats')); $dashboard = $this->dashboard($this->translate('Stats'), array('priority' => 100));
$dashboard->add( $dashboard->add(
$this->translate('Check Stats'), $this->translate('Check Stats'),
'monitoring/health/stats' 'monitoring/health/stats'