parent
b3e0851b62
commit
8dbb215e27
|
@ -78,20 +78,6 @@ class Monitoring_ShowController extends Controller
|
|||
$this->setupPaginationControl($this->view->history, 50);
|
||||
}
|
||||
|
||||
public function servicesAction()
|
||||
{
|
||||
$this->setAutorefreshInterval(15);
|
||||
$this->getTabs()->activate('services');
|
||||
$this->_setParam('service', '');
|
||||
// TODO: This used to be a hack and still is. Modifying query string here.
|
||||
$_SERVER['QUERY_STRING'] = (string) $this->params->without('service')->set('limit', '');
|
||||
$this->view->services = $this->view->action('services', 'list', 'monitoring', array(
|
||||
'view' => 'compact',
|
||||
'sort' => 'service_description',
|
||||
));
|
||||
$this->fetchHostStats();
|
||||
}
|
||||
|
||||
protected function fetchHostStats()
|
||||
{
|
||||
$this->view->stats = $this->backend->select()->from('statusSummary', array(
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<div class="controls">
|
||||
<?php if (! $this->compact): ?>
|
||||
<?= $this->tabs; ?>
|
||||
<?php endif ?>
|
||||
<?= $this->render('partials/host/object-header.phtml') ?>
|
||||
<?= $this->render('partials/host/servicesummary.phtml') ?>
|
||||
</div>
|
||||
<?= $services ?>
|
Loading…
Reference in New Issue