2015-04-24 14:27:22 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$section = $this->menuSection($this->translate('Icinga Director'));
|
|
|
|
|
|
|
|
$section->setIcon('cubes');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// COMMAND
|
2015-04-24 14:27:22 +02:00
|
|
|
$section->add($this->translate('Commands'))
|
|
|
|
->setUrl('director/list/commands');
|
2015-06-01 16:29:52 +02:00
|
|
|
$section->add($this->translate('Command Arguments'))
|
|
|
|
->setUrl('director/list/commandarguments');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// KA
|
2015-06-03 13:02:44 +02:00
|
|
|
$section->add($this->translate('Timeperiods'))
|
|
|
|
->setUrl('director/list/timeperiods');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// HOST
|
2015-04-24 14:27:22 +02:00
|
|
|
$section->add($this->translate('Hosts'))
|
|
|
|
->setUrl('director/list/hosts');
|
2015-06-02 10:49:31 +02:00
|
|
|
$section->add($this->translate('Hostgroups'))
|
|
|
|
->setUrl('director/list/hostgroups');
|
2015-06-02 17:37:54 +02:00
|
|
|
$section->add($this->translate('Hostgroup Members'))
|
|
|
|
->setUrl('director/list/hostgroupmembers');
|
2015-06-03 12:05:50 +02:00
|
|
|
$section->add($this->translate('Host Vars'))
|
|
|
|
->setUrl('director/list/hostvars');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// SERVICE
|
|
|
|
$section->add($this->translate('Services'))
|
|
|
|
->setUrl('director/list/services');
|
2015-06-02 11:56:42 +02:00
|
|
|
$section->add($this->translate('Servicegroups'))
|
|
|
|
->setUrl('director/list/servicegroups');
|
2015-06-03 14:59:29 +02:00
|
|
|
$section->add($this->translate('Serviceroup Members'))
|
|
|
|
->setUrl('director/list/servicegroupmembers');
|
2015-06-09 11:55:48 +02:00
|
|
|
$section->add($this->translate('Service Vars'))
|
|
|
|
->setUrl('director/list/servicevars');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// USER
|
2015-06-01 17:00:02 +02:00
|
|
|
$section->add($this->translate('Users'))
|
|
|
|
->setUrl('director/list/users');
|
2015-06-02 14:19:05 +02:00
|
|
|
$section->add($this->translate('Usergroups'))
|
|
|
|
->setUrl('director/list/usergroups');
|
2015-06-12 12:22:17 +02:00
|
|
|
$section->add($this->translate('Usergroup Members'))
|
|
|
|
->setUrl('director/list/usergroupmembers');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// HA
|
|
|
|
$section->add($this->translate('Zones'))
|
|
|
|
->setUrl('director/list/zones');
|
2015-06-01 17:26:09 +02:00
|
|
|
$section->add($this->translate('Endpoints'))
|
|
|
|
->setUrl('director/list/endpoints');
|
2015-06-03 14:34:54 +02:00
|
|
|
|
|
|
|
// INTERNAL
|
2015-06-01 12:43:41 +02:00
|
|
|
$section->add($this->translate('Activity Log'))
|
|
|
|
->setUrl('director/list/activitylog')
|
|
|
|
->setPriority(900);
|
2015-06-11 22:49:33 +02:00
|
|
|
$section->add($this->translate('Show config'))
|
2015-06-17 13:31:51 +02:00
|
|
|
->setUrl('director/conf/show')
|
|
|
|
->setPriority(902);
|
|
|
|
$section->add($this->translate('Store config'))
|
|
|
|
->setUrl('director/conf/store')
|
2015-06-11 22:49:33 +02:00
|
|
|
->setPriority(902);
|