1 --- a/etc/thruk/thruk.conf 2015-05-14 22:54:38.000000000 +0200
2 +++ b/etc/thruk/thruk.conf 2015-05-15 09:55:20.102354252 +0200
5 ######################################
6 # set the url prefix for all urls
8 +url_prefix = /###SITE###/
10 ######################################
11 # Changes the path to your logo images. Default is
13 # Like usual, paths starting with a / will be absolute from your
14 # webserver root directory. Paths starting without a / will be relative
15 # to the cgi directory.
16 -#logo_path_prefix = /icons/
17 +logo_path_prefix = /###SITE###/nagios/images/logos/
19 # location of your logos in your filesystem. This directory should be
20 # mapped to your 'logo_path_prefix' directory where 'logo_path_prefix' is
21 # the path relative to your webserver root directory and 'physical_logo_path' is
22 # the corresponding filesystem path.
23 -#physical_logo_path = /usr/local/share/icons
24 +physical_logo_path = ###ROOT###/local/share/nagios/htdocs/images/logos
26 ######################################
27 # change path to your host / service action icons. You may use relative paths
30 ######################################
31 # location of your cgi.cfg
33 +cgi.cfg = ###ROOT###/etc/thruk/cgi.cfg
35 ######################################
36 # use frames, can be useful for addons
39 ######################################
40 # temporary directory, used for template cache...
42 +tmp_path = ###ROOT###/tmp/thruk
44 ######################################
45 # var directory, used to store user settings
47 +var_path = ###ROOT###/var/thruk
49 ######################################
50 # mode used when creating or saving files
53 ######################################
54 # server side includes
56 +ssi_path = ###ROOT###/etc/thruk/ssi
58 ######################################
59 # path to your plugins
60 # see documentation for further steps if
61 # you change the plugin path
62 -#plugin_path = plugins/
63 +plugin_path = ###ROOT###/etc/thruk
65 ######################################
67 # see documentation for further steps if
68 # you change the themes path
69 -#themes_path = themes/
70 +themes_path = ###ROOT###/etc/thruk
72 ######################################
74 -#user_template_path = ./my_templates
75 +user_template_path = ###ROOT###/etc/thruk/templates
77 ######################################
79 -#log4perl_conf = ./log4perl.conf
80 +log4perl_conf = ###ROOT###/etc/thruk/log4perl.conf
82 ######################################
83 # use paged data instead of all data in one huge page
85 # Instead of using a general resource_file, you could define one file
86 # per peer in your peer config.
88 -#resource_file = path_to_your/resource.cfg
89 +resource_file = ###ROOT###/etc/nagios/resource.cfg
91 # enable a performance bar inside the status/host list which
92 # create a graph from the performance data of the plugin output. Available
94 # check should be rescheduled instead of the passive check.
95 # Have a look at the documentation for a detailed description.
96 #command_reschedule_alias = servicename_or_commandname_pattern;agent_service_name
97 +command_reschedule_alias = ^check_mk\-(?!inventory);Check_MK
99 ######################################
100 # Time Format Settings
101 @@ -490,23 +491,23 @@
102 # Specifiy a file which is then completly under the control of Thruk.
103 # It will be used to store cronjobs, ex. for reports. The file has to
104 # be writable by Thruk.
105 -cron_file = /tmp/thruk_cron.tmp
106 +cron_file = ###ROOT###/etc/cron.d/thruk.auto
108 # The pre edit cmd can be used to do run a command just before thruk
109 # will edit the crontab.
110 -cron_pre_edit_cmd = /usr/bin/crontab -l > /tmp/thruk_cron.tmp
113 # The post edit cmd is necessary for OMD where you need to reload the
114 # crontab after editing.
115 -cron_post_edit_cmd = /usr/bin/crontab /tmp/thruk_cron.tmp && rm -f /tmp/thruk_cron.tmp
116 +cron_post_edit_cmd = ###ROOT###/etc/thruk/reload_cron.sh
118 #####################################
120 # Path to your thruk executable. Will be used in cronjobs.
121 -#thruk_bin = /usr/bin/thruk
122 +thruk_bin = ###ROOT###/bin/thruk
124 # Path to your thruk init script. Will be used to restart thruk.
125 -#thruk_init = /etc/init.d/thruk
126 +thruk_init = ###ROOT###/etc/init.d/thruk
128 # Set first day of week. Used in reports.
132 # cookie auth requires additional webserver settings, see the documentation
133 # for detailed instructions.
134 -cookie_auth_login_url = thruk/cgi-bin/login.cgi
135 -cookie_auth_restricted_url = http://localhost/thruk/cgi-bin/restricted.cgi
136 +cookie_auth_login_url = ###SITE###/thruk/cgi-bin/login.cgi
137 +cookie_auth_restricted_url = http://localhost/###SITE###/thruk/cgi-bin/restricted.cgi
138 cookie_auth_session_timeout = 604800
139 cookie_auth_session_cache_timeout = 5
140 #cookie_auth_domain = .domain.com
141 @@ -615,42 +616,19 @@
142 ######################################
143 # Backend Configuration, enter your backends here
144 <Component Thruk::Backend>
146 -# name = Local Naemon
148 -# hidden = 1 # make this backend hidden by default
149 -# groups = admins # make this backend only visible to the admin group
151 -# peer = /tmp/livestatus.socket
152 -# resource_file = path_to_your/resource.cfg
155 -# core_conf = /etc/naemon/naemon.cfg
156 -# obj_check_cmd = /etc/init.d/naemon checkconfig
157 -# obj_reload_cmd = /etc/init.d/naemon reload
161 -# name = External Naemon
164 -# peer = 172.16.0.1:9999
168 -# name = External Icinga
171 -# peer = 172.16.0.2:9999
175 -# name = External Shinken
178 -# peer = 127.0.0.01:50000
185 + peer = ###ROOT###/tmp/run/live
188 + core_conf = ###ROOT###/tmp/nagios/nagios.cfg
189 + obj_check_cmd = ###ROOT###/etc/init.d/core check
190 + obj_reload_cmd = ###ROOT###/etc/init.d/core reload
191 + obj_readonly = check_mk_objects\.cfg
198 <Component Thruk::Plugin::ConfigTool>
199 show_plugin_syntax_helper = 1
201 - thruk = ./thruk_local.conf
202 - cgi.cfg = ./cgi.cfg
203 - #htpasswd = ./htpasswd
204 + thruk = ###ROOT###/etc/thruk/thruk_local.conf
205 + cgi.cfg = ###ROOT###/etc/thruk/cgi.cfg
206 + htpasswd = ###ROOT###/etc/htpasswd
211 #report_base_url=http://host.local/thruk/cgi-bin/
213 # phantomjs is used to convert html pages into pdf
214 - #phantomjs = /path/to/phantomjs
215 + phantomjs = ###ROOT###/bin/phantomjs
217 # pnp export script is used to export pnp graphs into reports
218 #pnp_export = /path/to/pnp_export.sh
219 @@ -754,21 +732,21 @@
220 <Component Thruk::Plugin::BP>
221 # Results will be send back by using the spool folder.
222 # This folder should point to the 'check_result_path' of your core.
223 - #spool_dir = /var/naemon/rw/check_results
224 + spool_dir = ###ROOT###/tmp/nagios/checkresults
226 # as alternative to the spool_dir, a livestatus connection can be used
227 # to send results to the core.
228 - #result_backend = sitename
229 + #result_backend = ###SITE###
231 # Save objects to this file. Content will be overwritten.
232 - #objects_save_file = /etc/naemon/conf.d/thruk_bp_generated.cfg
233 + objects_save_file = ###ROOT###/etc/nagios/conf.d/thruk_bp_generated.cfg
235 # User maintained file containing templates used for business process services.
236 - #objects_templates_file = /etc/naemon/conf.d/thruk_templates.cfg
237 + objects_templates_file = ###ROOT###/etc/nagios/conf.d/thruk_templates.cfg
239 # Command to apply changes to the objects_save_file. If no set and
240 # and result_backend is used, the restart will be triggered as external command.
241 - #objects_reload_cmd = /etc/init.d/naemon reload
242 + objects_reload_cmd = ###ROOT###/etc/init.d/core reload
244 # hooks which will be executed before or after saving.