GUI CSS: Decoupled styles for bi from classic theme (CMK-1171)
[check_mk.git] / cmk_base / default_config / notify.py
blob5bc3161fd4fd76b759953d1bab594ff7f63604d3
1 #!/usr/bin/python
2 # -*- encoding: utf-8; py-indent-offset: 4 -*-
3 # +------------------------------------------------------------------+
4 # | ____ _ _ __ __ _ __ |
5 # | / ___| |__ ___ ___| | __ | \/ | |/ / |
6 # | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
7 # | | |___| | | | __/ (__| < | | | | . \ |
8 # | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
9 # | |
10 # | Copyright Mathias Kettner 2014 mk@mathias-kettner.de |
11 # +------------------------------------------------------------------+
13 # This file is part of Check_MK.
14 # The official homepage is at http://mathias-kettner.de/check_mk.
16 # check_mk is free software; you can redistribute it and/or modify it
17 # under the terms of the GNU General Public License as published by
18 # the Free Software Foundation in version 2. check_mk is distributed
19 # in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
20 # out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
21 # PARTICULAR PURPOSE. See the GNU General Public License for more de-
22 # tails. You should have received a copy of the GNU General Public
23 # License along with GNU Make; see the file COPYING. If not, write
24 # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
25 # Boston, MA 02110-1301 USA.
27 import cmk as _cmk
29 # Log level of notifications
30 # 0, 1, 2 -> deprecated (transformed to 20, 20, and 10)
31 # 20 -> minimal logging
32 # 15 -> normal logging
33 # 10 -> full dump of all variables and command
34 notification_logging = 15
35 notification_backlog = 10 # keep the last 10 notification contexts for reference
37 # Settings for new rule based notifications
38 enable_rulebased_notifications = False
39 notification_fallback_email = ""
40 notification_rules = []
41 # Check every 10 seconds for ripe bulks
42 notification_bulk_interval = 10
43 notification_plugin_timeout = 60
45 # Notification Spooling.
47 # Possible values for notification_spooling
48 # "off" - Direct local delivery without spooling
49 # "local" - Asynchronous local delivery by notification spooler
50 # "remote" - Forward to remote site by notification spooler
51 # "both" - Asynchronous local delivery plus remote forwarding
52 # False - legacy: sync delivery (and notification_spool_to)
53 # True - legacy: async delivery (and notification_spool_to)
54 if _cmk.is_raw_edition():
55 notification_spooling = "off"
56 else:
57 notification_spooling = "local"
59 # Legacy setting. The spool target is now specified in the
60 # configuration of the spooler. notification_spool_to has
61 # the tuple format (remote_host, tcp_port, also_local)
62 notification_spool_to = None