-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththruk.conf
167 lines (148 loc) · 6.03 KB
/
thruk.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Thruk Settings
######################################
#
# DONT CHANGE THIS CONFIGURATION
#
# If you want to change configuration copy this
# file to thruk_local.conf and change settings there.
# Configuration is merged from both files then.
#
######################################
######################################
# determines if host contacts are allowed for services
# on this host or not
use_strict_host_authorization = 0
######################################
# start page
# add a custom start page which will be displayed instead of the useless page
# with version information.
#start_page = /thruk/main.html
######################################
# target of the docs link, you may add your monitoring
# documenation here
# use a blank value to remove the docs link
documentation_link = /thruk/docs/
######################################
# customized link for all problems
all_problems_link = /thruk/cgi-bin/status.cgi?style=detail&hidesearch=1&s0_hoststatustypes=12&s0_servicestatustypes=31&s0_hostprops=10&s0_serviceprops=0&s1_hoststatustypes=15&s1_servicestatustypes=28&s1_hostprops=10&s1_serviceprops=10&s1_hostprop=2&s1_hostprop=8&title=All%20Unhandled%20Problems
######################################
# allowed framed links
# which links in addition to the documentation_link
# can be framed by linking to /thruk/frame.html?link=...
#allowed_frame_links = http://my-company/
######################################
# location of your cgi.cfg
cgi.cfg = cgi.cfg
######################################
# use frames, can be useful for addons
use_frames = 0
######################################
# use new search
use_new_search = 1
######################################
# use ajax search
use_ajax_search = 1 # enable ajax search
ajax_search_hosts = 1 # suggest hosts while typing
ajax_search_hostgroups = 1 # suggest hostgroups while typing
ajax_search_services = 1 # suggest services while typing (can be slow which large amount of services)
ajax_search_servicegroups = 1 # suggest servicegroups while typing
######################################
# themes
default_theme = Classic
######################################
# use paged data instead of all data in one huge page
use_pager = 1
default_page_size = 100 # should be one of the paging steps below
paging_steps = 100
paging_steps = 500
paging_steps = 1000
paging_steps = 5000
paging_steps = all
######################################
# status page
# on which event should the comments / downtime or
# longpluginout popup show up
# usefull values are onclick or onmouseover
info_popup_event_type = onmouseover
######################################
# Command Settings
can_submit_commands = 1
# disable some commands completely
#command_disabled = 14 # shutdown
#command_disabled = 35 # start executing service checks
#command_disabled = 36 # stop executing service checks
#command_disabled = 88 # start executing host checks
#command_disabled = 89 # stop executing host checks
# default states for commands option checkboxes
<cmd_defaults>
ahas = 0 # For Hosts Too
broadcast_notification = 0 # Broadcast
force_check = 0 # Forced Check
force_notification = 0 # Forced Notification
send_notification = 1 # Send Notification
sticky_ack = 1 # Sticky Acknowledgement
persistent_comments = 1 # Persistent Comments
persistent_ack = 0 # Persistent Acknowledgement Comments
ptc = 0 # For Child Hosts Too
</cmd_defaults>
######################################
# Time Format Settings
datetime_format = %Y-%m-%d %H:%M:%S
datetime_format_today = %H:%M:%S
datetime_format_long = %a %b %e %H:%M:%S %Z %Y
datetime_format_log = %B %d, %Y %H
datetime_format_trends = %a %b %e %H:%M:%S %Y
######################################
# Monitoring Backend Configuration, enter your livestatus
# backends here
<Component Monitoring::Livestatus>
verbose = 0
connect_timeout = 5
query_timeout = 60
keepalive = 1
# its mostly faster without threads. Using threads will improve
# performance with slow backend connections but will increase memory usage.
use_threads = 0
# <peer>
# name = Local Nagios
# peer = /tmp/livestatus.socket
# </peer>
# <peer>
# name = External Nagios
# peer = 172.16.0.1:9999
# </peer>
# <peer>
# name = External Icinga
# peer = 172.16.0.2:9999
# hidden = 1 # make this backend hidden by default
# </peer>
</Component>
################################
# Logging Configuration
#<Component Catalyst::Log::Log4perl>
# conf = log4perl.logger=ALL, ErrorLog, DebugLog
#
# # just errors
# conf = log4perl.appender.ErrorLog=Log::Dispatch::File
# conf = log4perl.appender.ErrorLog.filename=logs/error.log
# conf = log4perl.appender.ErrorLog.mode=append
# conf = log4perl.appender.ErrorLog.Threshold=ERROR
# conf = log4perl.appender.ErrorLog.layout=Log::Log4perl::Layout::PatternLayout
# conf = log4perl.appender.ErrorLog.layout.ConversionPattern=[%d][%H][%p][%c] %m%n
#
# # debug too
# conf = log4perl.appender.DebugLog=Log::Dispatch::File
# conf = log4perl.appender.DebugLog.filename=logs/debug.log
# conf = log4perl.appender.DebugLog.mode=append
# conf = log4perl.appender.DebugLog.Threshold=DEBUG
# conf = log4perl.appender.DebugLog.layout=Log::Log4perl::Layout::PatternLayout
# conf = log4perl.appender.DebugLog.layout.ConversionPattern=[%d][%H][%p][%c] %m%n
#
# # example screen logger
# conf = log4perl.logger = DEBUG, Screen
# conf = log4perl.appender.Screen = Log::Log4perl::Appender::Screen
# conf = log4perl.appender.Screen.stderr = 1
# conf = log4perl.appender.Screen.Threshold = DEBUG
# conf = log4perl.appender.Screen.layout = Log::Log4perl::Layout::PatternLayout
# conf = log4perl.appender.Screen.layout.ConversionPattern = [%d][%H][%p][%c] %m%n
#</Component>