Module: check_mk
Branch: master
Commit: ccbd9b872f96c020b7c355e9b9ac00debb467773
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ccbd9b872f96c0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 26 13:18:52 2019 +0100
7185 Custom service attributes can now be configured
It is now possible to configure arbitrary custom attributes for all services
just like it was already possible for hosts and users in previous versions.
The configuration procedure is working equally, you first need to define an
attribute in the first place, to be able to refer to the attribute and assign
it to services. The definition of custom attributes is done using the Global
Setting "Custom service attributes".
Once you have defined a custom service attribute, you can assign it to a
collection of services using the equal named ruleset "Custom service attributes".
In general, you should keep the number of rules low. To support you in this,
the rule is structured so that you can select several custom attributes for
each rule.
CMK-1727
Change-Id: I9e8f21b04f4f5909b0f1881238864cd8dfa3a514
---
.werks/7185 | 29 ++++++
cmk/gui/plugins/config/base.py | 3 +
cmk/gui/plugins/wato/check_mk_configuration.py | 134 +++++++++++++++++++++++++
cmk_base/core_config.py | 7 ++
cmk_base/core_nagios.py | 5 +
cmk_base/default_config/base.py | 1 +
tests/unit/cmk/gui/watolib/test_watolib.py | 1 +
tests/unit/cmk_base/test_core_config.py | 21 ++++
8 files changed, 201 insertions(+)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ccbd9b872f…