setHostTabs()->activate('hosts'); $this->view->addLink = $this->view->qlink( $this->translate('Add Host'), 'director/object/host' ); $this->view->title = $this->translate('Icinga Hosts'); $this->view->table = $this->loadTable('icingaHost')->setConnection($this->db()); $this->render('table'); } public function hostgroupsAction() { $this->setHostTabs()->activate('hostgroups'); $this->view->addLink = $this->view->qlink( $this->translate('Add Hostgroup'), 'director/object/hostgroup' ); $this->view->title = $this->translate('Icinga Hostgroups'); $this->view->table = $this->loadTable('icingaHostGroup')->setConnection($this->db()); $this->render('table'); } public function timeperiodsAction() { $this->setGlobalTabs()->activate('timeperiods'); $this->view->addLink = $this->view->qlink( $this->translate('Add Timeperiod'), 'director/object/timeperiod' ); $this->view->title = $this->translate('Icinga Timeperiods'); $this->view->table = $this->loadTable('icingaTimePeriod')->setConnection($this->db()); $this->render('table'); } public function servicesAction() { $this->setServiceTabs()->activate('services'); $this->view->addLink = $this->view->qlink( $this->translate('Add Service'), 'director/object/service' ); $this->view->title = $this->translate('Icinga Services'); $this->view->table = $this->loadTable('icingaService')->setConnection($this->db()); $this->render('table'); } public function servicegroupsAction() { $this->setServiceTabs()->activate('servicegroups'); $this->view->addLink = $this->view->qlink( $this->translate('Add Servicegroup'), 'director/object/servicegroup' ); $this->view->title = $this->translate('Icinga Servicegroups'); $this->view->table = $this->loadTable('icingaServiceGroup')->setConnection($this->db()); $this->render('table'); } public function commandsAction() { $this->setGlobalTabs()->activate('commands'); $this->view->addLink = $this->view->qlink( $this->translate('Add Command'), 'director/object/command' ); $this->view->title = $this->translate('Icinga Commands'); $this->view->table = $this->loadTable('icingaCommand')->setConnection($this->db()); $this->render('table'); } public function commandargumentsAction() { $this->setGlobalTabs()->activate('commandarguments'); $this->view->addLink = $this->view->qlink( $this->translate('Add Command Argument'), 'director/object/commandargument' ); $this->view->title = $this->translate('Icinga Command Arguments'); $this->view->table = $this->loadTable('icingaCommandArgument')->setConnection($this->db()); $this->render('table'); } public function usersAction() { $this->setUserTabs()->activate('users'); $this->view->addLink = $this->view->qlink( $this->translate('Add User'), 'director/object/user' ); $this->view->title = $this->translate('Icinga Users'); $this->view->table = $this->loadTable('icingaUser')->setConnection($this->db()); $this->render('table'); } public function usergroupsAction() { $this->setUserTabs()->activate('usergroups'); $this->view->addLink = $this->view->qlink( $this->translate('Add Usergroup'), 'director/object/usergroup' ); $this->view->title = $this->translate('Icinga Usergroups'); $this->view->table = $this->loadTable('icingaUserGroup')->setConnection($this->db()); $this->render('table'); } public function endpointsAction() { $this->setGlobalTabs()->activate('endpoints'); $this->view->addLink = $this->view->qlink( $this->translate('Add Endpoint'), 'director/object/endpoint' ); $this->view->title = $this->translate('Icinga Endpoints'); $this->view->table = $this->loadTable('icingaEndpoint')->setConnection($this->db()); $this->render('table'); } public function zonesAction() { $this->setGlobalTabs()->activate('zones'); $this->view->addLink = $this->view->qlink( $this->translate('Add Zone'), 'director/object/zone' ); $this->view->title = $this->translate('Icinga Zones'); $this->view->table = $this->loadTable('icingaZone')->setConnection($this->db()); $this->render('table'); } public function activitylogAction() { $this->setConfigTabs()->activate('activitylog'); $this->view->title = $this->translate('Activity Log'); $this->view->table = $this->loadTable('activityLog')->setConnection($this->db()); $this->render('table'); } public function generatedconfigAction() { $this->view->addLink = $this->view->qlink( $this->translate('Generate'), 'director/config/store' ); $this->setConfigTabs()->activate('generatedconfig'); $this->view->title = $this->translate('Generated Configs'); $this->view->table = $this->loadTable('generatedConfig')->setConnection($this->db()); $this->render('table'); } }