forked from sni/Thruk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.conf
59 lines (50 loc) · 4.54 KB
/
menu.conf
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
###########################################################
#
# to adjust the menu configuration, copy this file to
# "menu_local.conf" and change it to your needs
# See https://thruk.org/documentation/menu.html for details.
#
###########################################################
use utf8;
add_section('name' => 'General');
add_link('name' => 'Home', 'href' => '/thruk/main.html');
add_link('name' => 'Documentation', 'href' => "/thruk/frame.html?link=".Thruk::Utils::Filter::escape_html($c->stash->{'documentation_link'}), 'target' => "_parent") if($c->stash->{'documentation_link'});
add_link('name' => 'Logout', 'href' => "/thruk/cgi-bin/login.cgi?logout", 'target' => "_parent") if($c->stash->{'cookie_auth'});
add_section('name' => 'Current Status');
add_link('name' => 'Tactical Overview', 'href' => '/thruk/cgi-bin/tac.cgi');
add_link('name' => 'Map', 'href' => '/thruk/cgi-bin/statusmap.cgi?host=all') if $c->config->{'use_feature_statusmap'};
add_link('name' => 'Hosts', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail');
add_link('name' => 'Services', 'href' => '/thruk/cgi-bin/status.cgi?host=all');
add_link('name' => 'Host Groups', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=overview');
add_sub_link('name' => 'Summary', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=summary');
add_sub_sub_link('name' => 'Grid', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=grid');
add_link('name' => 'Service Groups', 'href' => '/thruk/cgi-bin/status.cgi?servicegroup=all&style=overview');
add_sub_link('name' => 'Summary', 'href' => '/thruk/cgi-bin/status.cgi?servicegroup=all&style=summary');
add_sub_sub_link('name' => 'Grid', 'href' => '/thruk/cgi-bin/status.cgi?servicegroup=all&style=grid');
add_link('name' => 'Business View', 'href' => '/thruk/cgi-bin/businessview.cgi') if $c->stash->{'enable_shinken_features'};
add_link('name' => 'Problems', 'href' => $c->stash->{'all_problems_link'});
add_sub_link('name' => 'Services', 'href' => '/thruk/cgi-bin/status.cgi?host=all&servicestatustypes=28');
add_sub_sub_link('name' => 'Unhandled', 'href' => '/thruk/cgi-bin/status.cgi?host=all&type=detail&hostprops=10&serviceprops=42&servicestatustypes=28');
add_sub_link('name' => 'Hosts', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12');
add_sub_sub_link('name' => 'Unhandled', 'href' => '/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42');
add_sub_link('name' => 'Network Outages', 'href' => '/thruk/cgi-bin/outages.cgi');
add_sub_link('name' => 'Root Problems', 'href' => '/thruk/cgi-bin/outagespbimp.cgi') if $c->stash->{'enable_shinken_features'};
add_search('name' => 'Quick Search:');
add_section('name' => 'Reports');
add_link('name' => 'Availability', 'href' => '/thruk/cgi-bin/avail.cgi');
add_link('name' => 'Trends', 'href' => '/thruk/cgi-bin/trends.cgi') if $c->stash->{'use_feature_trends'};
add_link('name' => 'Alerts', 'href' => '/thruk/cgi-bin/history.cgi?host=all');
add_sub_link( 'name' => 'History', 'href' => '/thruk/cgi-bin/history.cgi?host=all');
add_sub_sub_link('name' => 'Summary', 'href' => '/thruk/cgi-bin/summary.cgi');
# add_link('name' => 'Histogram', 'href' => '/thruk/cgi-bin/histogram.cgi') if $c->stash->{'use_feature_histogram'};
add_link('name' => 'Notifications', 'href' => '/thruk/cgi-bin/notifications.cgi?contact=all');
add_link('name' => 'Event Log', 'href' => '/thruk/cgi-bin/showlog.cgi');
add_section('name' => 'System');
add_link('name' => 'Comments', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=3');
add_link('name' => 'Downtimes', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=6');
add_sub_link('name' => 'Recurring Downtimes', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=6&recurring') if $c->stash->{'use_feature_recurring_downtime'};
add_link('name' => 'Process Info', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=0');
add_link('name' => 'Performance Info', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=4');
add_link('name' => 'Scheduling Queue', 'href' => '/thruk/cgi-bin/extinfo.cgi?type=7');
add_link('name' => 'Configuration', 'href' => '/thruk/cgi-bin/config.cgi');
add_link('name' => 'Broadcasts', 'href' => '/thruk/cgi-bin/broadcast.cgi');