-
Notifications
You must be signed in to change notification settings - Fork 15
/
configuration.php
39 lines (31 loc) · 1.07 KB
/
configuration.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/** @var \Icinga\Application\Modules\Module $this */
$this->providePermission('trapdirector/module_config', $this->translate('Allow to access the traps module configuration'));
$this->providePermission('trapdirector/view', $this->translate('Allow to view traps and traps service configuration'));
$this->providePermission('trapdirector/config', $this->translate('Allow to create and modify traps services'));
$this->provideConfigTab('config', array(
'title' => 'Configuration',
'url' => 'settings'
));
/**
$this->provideConfigTab('satellite', array(
'title' => 'Satellite',
'url' => 'settings/satellite'
));
**/
$section = $this->menuSection(N_('Traps'),array (
'icon' => 'filter',
'url' => 'trapdirector'
));
$section->add(N_('Status & Mibs'),array(
'url' => 'trapdirector/status/',
'permission' => 'trapdirector/view'
));
$section->add(N_('Received'),array(
'url' => 'trapdirector/received/',
'permission' => 'trapdirector/view'
));
$section->add(N_('Handlers'),array(
'url' => 'trapdirector/handler/',
'permission' => 'trapdirector/config'
));