/usr/share/check_mk/web/plugins/config/builtin.py is in check-mk-multisite 1.2.8p16-1ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
# | | |___| | | | __/ (__| < | | | | . \ |
# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
# | |
# | Copyright Mathias Kettner 2014 mk@mathias-kettner.de |
# +------------------------------------------------------------------+
#
# This file is part of Check_MK.
# The official homepage is at http://mathias-kettner.de/check_mk.
#
# check_mk is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation in version 2. check_mk is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more de-
# tails. You should have received a copy of the GNU General Public
# License along with GNU Make; see the file COPYING. If not, write
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
# ____ _
# | _ \ ___ | | ___ ___
# | |_) / _ \| |/ _ \/ __|
# | _ < (_) | | __/\__ \
# |_| \_\___/|_|\___||___/
#
roles = {} # User supplied roles
# define default values for all settings
debug = False
screenshotmode = False
profile = False
users = []
admin_users = []
guest_users = []
default_user_role = "user"
save_user_access_times = False
user_online_maxage = 30 # seconds
# New style, used by WATO
multisite_users = {}
# ____ _ _ _
# / ___|(_) __| | ___| |__ __ _ _ __
# \___ \| |/ _` |/ _ \ '_ \ / _` | '__|
# ___) | | (_| | __/ |_) | (_| | |
# |____/|_|\__,_|\___|_.__/ \__,_|_|
#
sidebar = [
('tactical_overview', 'open'),
('search', 'open'),
('views', 'open'),
('reports', 'closed'), # does not harm if not available
('bookmarks', 'open'),
('admin', 'open'),
('master_control', 'closed')
]
# Interval of snapin updates in seconds
sidebar_update_interval = 30.0
# It is possible (but ugly) to enable a scrollbar in the sidebar
sidebar_show_scrollbar = False
# Enable regular checking for popup notifications
sidebar_notify_interval = None
# _ _ _ _
# | | (_)_ __ ___ (_) |_ ___
# | | | | '_ ` _ \| | __/ __|
# | |___| | | | | | | | |_\__ \
# |_____|_|_| |_| |_|_|\__|___/
#
soft_query_limit = 1000
hard_query_limit = 5000
# ____ _
# / ___| ___ _ _ _ __ __| |___
# \___ \ / _ \| | | | '_ \ / _` / __|
# ___) | (_) | |_| | | | | (_| \__ \
# |____/ \___/ \__,_|_| |_|\__,_|___/
#
sound_url = "sounds/"
enable_sounds = False
sounds = [
( "down", "down.wav" ),
( "critical", "critical.wav" ),
( "unknown", "unknown.wav" ),
( "warning", "warning.wav" ),
# ( None, "ok.wav" ),
]
# __ ___ _ _
# \ \ / (_) _____ __ ___ _ __ | |_(_) ___ _ __ ___
# \ \ / /| |/ _ \ \ /\ / / / _ \| '_ \| __| |/ _ \| '_ \/ __|
# \ V / | | __/\ V V / | (_) | |_) | |_| | (_) | | | \__ \
# \_/ |_|\___| \_/\_/ \___/| .__/ \__|_|\___/|_| |_|___/
# |_|
view_option_refreshes = [ 30, 60, 90, 0 ]
view_option_columns = [ 1, 2, 3, 4, 5, 6, 8, 10, 12 ]
# MISC
doculink_urlformat = "http://mathias-kettner.de/checkmk_%s.html";
# ____ _ _ _ _
# / ___| _ ___| |_ ___ _ __ ___ | | (_)_ __ | | _____
# | | | | | / __| __/ _ \| '_ ` _ \ | | | | '_ \| |/ / __|
# | |__| |_| \__ \ || (_) | | | | | | | |___| | | | | <\__ \
# \____\__,_|___/\__\___/|_| |_| |_| |_____|_|_| |_|_|\_\___/
#
custom_links = {}
# __ __ _
# \ \ / /_ _ _ __(_) ___ _ _ ___
# \ \ / / _` | '__| |/ _ \| | | / __|
# \ V / (_| | | | | (_) | |_| \__ \
# \_/ \__,_|_| |_|\___/ \__,_|___/
#
debug_livestatus_queries = False
# Show livestatus errors in multi site setup if some sites are
# not reachable.
show_livestatus_errors = True
# Whether the livestatu proxy daemon is available
liveproxyd_enabled = False
# Set this to a list in order to globally control which views are
# being displayed in the sidebar snapin "Views"
visible_views = None
# Set this list in order to actively hide certain views
hidden_views = None
# Custom user stylesheet to load (resides in htdocs/)
custom_style_sheet = None
# URL for start page in main frame (welcome page)
start_url = "dashboard.py"
# Page heading for main frame set
page_heading = "Check_MK %s"
# Timeout for rescheduling of host- and servicechecks
reschedule_timeout = 10.0
# Number of columsn in "Filter" form
filter_columns = 2
# Default language for l10n
default_language = None
# Hide these languages from user selection
hide_languages = []
# Default timestamp format to be used in multisite
default_ts_format = 'mixed'
# Default authentication type. Can be changed to e.g. "cookie" for
# using the cookie auth
auth_type = 'basic'
# Show only most used buttons, set to None if you want
# always all buttons to be shown
context_buttons_to_show = 5
# Buffering of HTML output stream
buffered_http_stream = True
# Maximum livetime of unmodified selections
selection_livetime = 3600
# Configure HTTP header to read usernames from
auth_by_http_header = False
# Number of rows to display by default in tables rendered with
# the table.py module
table_row_limit = 100
# Add an icon pointing to the WATO rule to each service
multisite_draw_ruleicon = True
# Default downtime configuration
adhoc_downtime = {}
# Display dashboard date
pagetitle_date_format = None
# Value of the host_staleness/service_staleness field to make hosts/services
# appear in a stale state
staleness_threshold = 1.5
# Escape HTML in plugin output / log messages
escape_plugin_output = True
# Virtual host trees for the "Virtual Host Trees" snapin
virtual_host_trees = []
# Fall back to PNP4Nagios as graphing GUI even on CEE
force_pnp_graphing = False
# Target email address for "Crashed Check" page
crash_report_target = "feedback@check-mk.org"
# GUI Tests (see cmk-guitest)
guitests_enabled = False
# _ _ ____ ____
# | | | |___ ___ _ __| _ \| __ )
# | | | / __|/ _ \ '__| | | | _ \
# | |_| \__ \ __/ | | |_| | |_) |
# \___/|___/\___|_| |____/|____/
#
userdb_automatic_sync = "master"
# Holds dicts defining user connector instances and their properties
user_connections = []
default_user_profile = {
'roles': ['user'],
}
lock_on_logon_failures = False
password_policy = {}
user_localizations = {
u'Agent type': { "de": u"Art des Agenten", },
u'Business critical': { "de": u"Geschäftskritisch", },
u'Check_MK Agent (Server)': { "de": u"Check_MK Agent (Server)", },
u'Criticality': { "de": u"Kritikalität", },
u'DMZ (low latency, secure access)': { "de": u"DMZ (geringe Latenz, hohe Sicherheit", },
u'Do not monitor this host': { "de": u"Diesen Host nicht überwachen", },
u'Dual: Check_MK Agent + SNMP': { "de": u"Dual: Check_MK Agent + SNMP", },
u'Legacy SNMP device (using V1)': { "de": u"Alte SNMP-Geräte (mit Version 1)", },
u'Local network (low latency)': { "de": u"Lokales Netzwerk (geringe Latenz)", },
u'Networking Segment': { "de": u"Netzwerksegment", },
u'No Agent': { "de": u"Kein Agent", },
u'Productive system': { "de": u"Produktivsystem", },
u'Test system': { "de": u"Testsystem", },
u'WAN (high latency)': { "de": u"WAN (hohe Latenz)", },
u'monitor via Check_MK Agent': { "de": u"Überwachung via Check_MK Agent", },
u'monitor via SNMP': { "de": u"Überwachung via SNMP", },
u'SNMP (Networking device, Appliance)': { "de": u"SNMP (Netzwerkgerät, Appliance)", },
}
# Contains user specified icons and actions for hosts and services
user_icons_and_actions = {}
# Override toplevel and sort_index settings of builtin icons
builtin_icon_visibility = {}
# Write WATO folder permissions to auth.php file
export_folder_permissions = False
# Name of the hostgroup to filter the network topology view by default
topology_default_filter_group = None
|