parent
45d883dcf1
commit
b7afec8f3c
|
@ -20,8 +20,7 @@ class Monitoring_TacticalController extends MonitoringController
|
||||||
'url' => Url::fromRequest()
|
'url' => Url::fromRequest()
|
||||||
)
|
)
|
||||||
)->extend(new DashboardAction())->activate('tactical_overview');
|
)->extend(new DashboardAction())->activate('tactical_overview');
|
||||||
|
$stats = $this->backend->select()->from(
|
||||||
$this->view->statusSummary = $this->backend->select()->from(
|
|
||||||
'statusSummary',
|
'statusSummary',
|
||||||
array(
|
array(
|
||||||
'hosts_up',
|
'hosts_up',
|
||||||
|
@ -79,6 +78,8 @@ class Monitoring_TacticalController extends MonitoringController
|
||||||
'hosts_flapping',
|
'hosts_flapping',
|
||||||
'services_flapping'
|
'services_flapping'
|
||||||
)
|
)
|
||||||
)->getQuery()->fetchRow();
|
);
|
||||||
|
$this->applyRestriction('monitoring/filter/objects', $stats);
|
||||||
|
$this->view->statusSummary = $stats->fetchRow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue