icingaweb2-module-graphite/configuration.php
Alexander A. Klimov d75b31158f Split configuration form
refs #54
2017-09-26 11:20:49 +02:00

21 lines
707 B
PHP

<?php
/** @var \Icinga\Application\Modules\Module $this */
/** @var \Icinga\Application\Modules\MenuItemContainer $section */
$section = $this->menuSection(N_('Graphite'), ['icon' => 'chart-area']);
$section->add(N_('Hosts'), ['url' => 'graphite/list/hosts']);
$section->add(N_('Services'), ['url' => 'graphite/list/services']);
$this->provideConfigTab('backend', array(
'title' => $this->translate('Configure the Graphite Web backend'),
'label' => $this->translate('Backend'),
'url' => 'config/backend'
));
$this->provideConfigTab('advanced', array(
'title' => $this->translate('Advanced configuration'),
'label' => $this->translate('Advanced'),
'url' => 'config/advanced'
));