Changed status page to use config-check (tentative) and removed time-intensive check in index routing

This commit is contained in:
Duncan Sommerville 2015-01-16 16:15:16 -05:00
parent 2f0b3d423c
commit 44018b2cbf
5 changed files with 201 additions and 67 deletions

View file

@ -13,16 +13,9 @@ class SystemstatusController extends Zend_Controller_Action
public function indexAction()
{
$services = array(
"pypo"=>Application_Model_Systemstatus::GetPypoStatus(),
"liquidsoap"=>Application_Model_Systemstatus::GetLiquidsoapStatus(),
"media-monitor"=>Application_Model_Systemstatus::GetMediaMonitorStatus(),
);
$partitions = Application_Model_Systemstatus::GetDiskInfo();
$this->view->status = new StdClass;
$this->view->status->services = $services;
$this->view->status->partitions = $partitions;
}
}