monitoring: Disable slow dashboards, #2

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-01 17:26:34 +02:00
parent 1ba315f414
commit a8bebb17e1

View File

@ -248,19 +248,19 @@ $dashboard->add(
/* /*
* Overview * Overview
*/ */
$dashboard = $this->dashboard(N_('Overview'), array('priority' => 60)); //$dashboard = $this->dashboard(N_('Overview'), array('priority' => 60));
$dashboard->add( //$dashboard->add(
N_('Service Grid'), // N_('Service Grid'),
'monitoring/list/servicegrid?limit=15,18' // 'monitoring/list/servicegrid?limit=15,18'
); //);
$dashboard->add( //$dashboard->add(
N_('Service Groups'), // N_('Service Groups'),
'monitoring/list/servicegroups' // 'monitoring/list/servicegroups'
); //);
$dashboard->add( //$dashboard->add(
N_('Host Groups'), // N_('Host Groups'),
'monitoring/list/hostgroups' // 'monitoring/list/hostgroups'
); //);
/* /*
* Most Overdue * Most Overdue
@ -315,40 +315,40 @@ $dashboard->add(
/* /*
* Activity Stream * Activity Stream
*/ */
$dashboard = $this->dashboard(N_('Activity Stream'), array('priority' => 90)); //$dashboard = $this->dashboard(N_('Activity Stream'), array('priority' => 90));
$dashboard->add( //$dashboard->add(
N_('Recent Events'), // N_('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'
); //);
$dashboard->add( //$dashboard->add(
N_('Recent Hard State Changes'), // N_('Recent Hard State Changes'),
'monitoring/list/eventhistory?timestamp>=-3%20days&type=hard_state&sort=timestamp&dir=desc&limit=8' // 'monitoring/list/eventhistory?timestamp>=-3%20days&type=hard_state&sort=timestamp&dir=desc&limit=8'
); //);
$dashboard->add( //$dashboard->add(
N_('Recent Notifications'), // N_('Recent Notifications'),
'monitoring/list/eventhistory?timestamp>=-3%20days&type=notify&sort=timestamp&dir=desc&limit=8' // 'monitoring/list/eventhistory?timestamp>=-3%20days&type=notify&sort=timestamp&dir=desc&limit=8'
); //);
$dashboard->add( //$dashboard->add(
N_('Downtimes Recently Started'), // N_('Downtimes Recently Started'),
'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_start&sort=timestamp&dir=desc&limit=8' // 'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_start&sort=timestamp&dir=desc&limit=8'
); //);
$dashboard->add( //$dashboard->add(
N_('Downtimes Recently Ended'), // N_('Downtimes Recently Ended'),
'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_end&sort=timestamp&dir=desc&limit=8' // 'monitoring/list/eventhistory?timestamp>=-3%20days&type=dt_end&sort=timestamp&dir=desc&limit=8'
); //);
/* /*
* Stats * Stats
*/ */
$dashboard = $this->dashboard(N_('Stats'), array('priority' => 99)); //$dashboard = $this->dashboard(N_('Stats'), array('priority' => 99));
$dashboard->add( //$dashboard->add(
N_('Check Stats'), // N_('Check Stats'),
'monitoring/health/stats' // 'monitoring/health/stats'
); //);
$dashboard->add( //$dashboard->add(
N_('Process Information'), // N_('Process Information'),
'monitoring/health/info' // 'monitoring/health/info'
); //);
/* /*
* CSS * CSS