mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-02-19 02:34:05 -05:00
15 lines
516 B
PHP
15 lines
516 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'
|
|
));
|
|
|