Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 37ada4018cb37fdc9f1299d37a5eb4dc3f65840b
https://github.com/tribe29/checkmk/commit/37ada4018cb37fdc9f1299d37a5eb4dc3…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M tests/integration/livestatus/test_livestatus.py
Log Message:
-----------
Revert "Skip crash report tests again"
This reverts commit f1f53bdcc321dde848d5094fb126154a7172b3a3.
Commit: cb7bd65782bb7beb32aed07aae9c1f18a31f4d66
https://github.com/tribe29/checkmk/commit/cb7bd65782bb7beb32aed07aae9c1f18a…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
A .werks/10199
Log Message:
-----------
10199 Bakery plugins must store configuration into yml_store
Previously the Bakery configured Windows Agent using <tt>check_mk.ini</tt>
configuration file: every script in <tt>enterprise/agents/bakery</tt> directory
could write own configuration data into the own file. All those files had
been later gathered into one <tt>check_mk.ini</tt> configuration file.
Since this release the Bakery configures Windows Agent using only
<tt>check_mk.bakery.yml</tt>. All data located in the ini file will be ignored.
To correctly configure Windows Agent you must use new parameter in your
<tt>bake_***</tt> function named <tt>yml_store</tt>. This parameter has type
YamlStore and imported automatically from <tt>agent_bakery_plugins.py</tt>.
Now the configuration data of all plugins are stored in a standard Python
dictionary, which replicates the structure of the Windows Agent's
configuration file.
The following sample bake function sets the agent port setting for the Yaml
file. It receives the configured port for the agent configuration and creates
two entries, "enabled" and "port" in the "global" section.
C+:
def bake_agent_port(opsys, conf, conf_dir, plugins_dir, yml_store):
# ^^^^^^^^^
global_section = yml_store.make_section["global"] # mandatory to get dict
# ^^^^^^
global_section["enabled"] = True # mandatory also
global_section["port"] = conf # configures the Agent port
# ^^^^ ^^^^
C-:
The function above creates the following definitions in the
<tt>check_mk.bakery.yml</tt>:
C+:
global:
enabled: True
port: 6551
C-:
Change-Id: I94247b4530602a1bbf281e6df0a4beca78cc9bc7
Compare: https://github.com/tribe29/checkmk/compare/7a79d03f0e14...cb7bd65782bb
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 472338b3c961747aea237c1714ea1a0f9b280033
https://github.com/tribe29/checkmk/commit/472338b3c961747aea237c1714ea1a0f9…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M cmk/ec/actions.py
M cmk/ec/history.py
M cmk/ec/main.py
M cmk/gui/htmllib.py
M cmk/gui/mkeventd.py
M cmk/gui/userdb.py
M cmk/gui/wato/pages/notifications.py
M cmk/gui/watolib/automations.py
M cmk/gui/watolib/config_domains.py
M cmk/utils/__init__.py
A cmk/utils/encoding.py
M cmk/utils/misc.py
M cmk/utils/tty.py
M cmk_base/autochecks.py
M cmk_base/automations/__init__.py
M cmk_base/automations/check_mk.py
M cmk_base/checking.py
M cmk_base/config.py
M cmk_base/data_sources/abstract.py
M cmk_base/discovery.py
M cmk_base/dump_host.py
M cmk_base/events.py
M cmk_base/snmp.py
M livestatus/api/python/livestatus.py
A tests/unit/cmk/utils/test_encoding.py
M tests/unit/livestatus/test_livestatus_unit.py
Log Message:
-----------
Centralize several de-/encoding funcs
Change-Id: I02222fec41d23a3488151c6318db96f6ea819ee2
Commit: 7bd305742c7644ecd3cb7b58cd69b8c379a255af
https://github.com/tribe29/checkmk/commit/7bd305742c7644ecd3cb7b58cd69b8c37…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M cmk/ec/main.py
M cmk/gui/wato/pages/notifications.py
M cmk/utils/encoding.py
M cmk_base/autochecks.py
M cmk_base/automations/check_mk.py
M cmk_base/config.py
M cmk_base/data_sources/abstract.py
M cmk_base/default_config/base.py
M cmk_base/discovery.py
M cmk_base/events.py
M cmk_base/snmp.py
Log Message:
-----------
Remove decode_from_bytes, decode_incoming_string, snmp_decode_string. Use convert_to_unicode
Change-Id: I513e9e9d4058b00724de57446021c3e84aaf0314
Commit: 7a79d03f0e142618714cd35e7fe94075ce647510
https://github.com/tribe29/checkmk/commit/7a79d03f0e142618714cd35e7fe94075c…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2019-11-19 (Tue, 19 Nov 2019)
Changed paths:
M cmk/utils/encoding.py
Log Message:
-----------
Cleanup ensure_unicode, ensure_bytestr
Change-Id: I69e1af760f857dac897b6f5f4c3ef40c951d4e67
Compare: https://github.com/tribe29/checkmk/compare/c513fa5dd3fe...7a79d03f0e14
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: c513fa5dd3fe5dc9a5d5031eea9fdd29bb93c1d0
https://github.com/tribe29/checkmk/commit/c513fa5dd3fe5dc9a5d5031eea9fdd29b…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2019-11-18 (Mon, 18 Nov 2019)
Changed paths:
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/__init__.py
Log Message:
-----------
Fixed 'FOO is not valid as a type' mypy warnings.
Change-Id: I4082244e1778e71e68fdd8fb5ed0623fd3da4462