Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 5b62ec9088c605b7a9f106f9594fc2a1c6709d38
https://github.com/tribe29/checkmk/commit/5b62ec9088c605b7a9f106f9594fc2a1c…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M .werks/first_free
Log Message:
-----------
Reserved 10 Werk IDS
Change-Id: I9b2799546db62eba327211d6569c10e96cb6dae8
Commit: 3109f759aef7f93179dd9288560f1409f1902e4e
https://github.com/tribe29/checkmk/commit/3109f759aef7f93179dd9288560f1409f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/views/builtin_inventory_plugins.py
M cmk_base/discovered_labels.py
M cmk_base/inventory.py
M inventory/lnx_distro
M tests/unit/cmk/gui/test_views.py
M tests/unit/cmk_base/test_discovered_labels.py
Log Message:
-----------
Cleanup discovered host labels
* Same API for DiscoveredHostLabels and DiscoveredServiceLabels
* Removed depdendency to StructuredStatusTree from DiscoveredHostLabels
CMK-2458
Change-Id: I74bdbd899be8804a99457aab9a3647e082732963
Commit: 1a3cd557f61ff1816c723bfb91542efec43bc035
https://github.com/tribe29/checkmk/commit/1a3cd557f61ff1816c723bfb91542efec…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk_base/discovered_labels.py
M tests/unit/cmk_base/test_discovery.py
Log Message:
-----------
Cleanup dead code
CMK-2458
Change-Id: I95618441ff0fd231a11241089136a4435e3def4f
Commit: 40e564f0741c7fbe1773b00f8e23f804c7c08d26
https://github.com/tribe29/checkmk/commit/40e564f0741c7fbe1773b00f8e23f804c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/wato/inventory.py
M cmk_base/config.py
M cmk_base/discovered_labels.py
M cmk_base/inventory.py
R inventory/labels
M inventory/lnx_distro
M tests/unit/cmk_base/test_config.py
M tests/unit/cmk_base/test_discovered_labels.py
Log Message:
-----------
Remove host label discovery from HW/SW inventory
The host label discovery will also be done by the discovery function of
the checks in the future. The just removed functionality will be added
back soon. See following commits for details.
CMK-2458
Change-Id: I9921f475b576fb4886773fa24c8112c6977d146f
Commit: ac1e26d26d6202e931adc2a7d74d3b6a2af7e666
https://github.com/tribe29/checkmk/commit/ac1e26d26d6202e931adc2a7d74d3b6a2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/utils/labels.py
M cmk_base/check_api.py
M cmk_base/check_api_utils.py
M cmk_base/discovered_labels.py
M cmk_base/discovery.py
M tests/unit/cmk_base/test_config.py
M tests/unit/cmk_base/test_discovered_labels.py
Log Message:
-----------
Start implementing discovery of host labels via check discovery
* Discovery functions can now produce host labels like this:
yield HostLabels(
HostLabel(u"os", u"Windows",
plugin_name="windows_updates"),
HostLabel(u"type", u"security",
plugin_name="windows_updates"),
)
Which adds the two host labels os:Windows and type:security to the host.
* Host labels are now read / updated / saved when the discovery while
the discovery is executed manually (cmk_base.discovery._do_discovery_for)
* Next steps: Add the host label handling to the discovery check, bulk
discovery and service discovery page functions.
Advantages over the previous HW/SW approach:
* Discovery logic with the optional automatic activation of changes can be used.
* The discovery page can be used to visualize changes in the amount of host labels
* The labels can be discovered incrementally (just like services) with
-I, -II and --only-checks flags of the discovery
* CEE: The DCD can immediately add host labels just by enabling the
service discovery for a DCD connection.
CMK-2458
Change-Id: I19afd4d2e8c553015ed8325688813a0f72208fdc
Commit: a5ad6b544bfa36f9ebdf7fa10aa65ee1c3ae55b3
https://github.com/tribe29/checkmk/commit/a5ad6b544bfa36f9ebdf7fa10aa65ee1c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/wato/check_mk_configuration.py
M cmk_base/config.py
M cmk_base/discovery.py
Log Message:
-----------
Add host label discovery info to Checkmk discovery checks
* New discovered host labels now trigger a warning state by default.
This state can be configured using the "Periodic service discovery"
ruleset.
* New host labels may trigger an "automatic configuration update" when
any mode different than "Remove vanished services" is configured.
CMK-2458
Change-Id: I7a1a4fac08a2af6a6d2ed4467c30c336ce76b8d7
Commit: a961bfaf6d01afbcc9ef25c3743e04019ce0df3c
https://github.com/tribe29/checkmk/commit/a961bfaf6d01afbcc9ef25c3743e04019…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/watolib/bulk_discovery.py
M cmk_base/automations/check_mk.py
M cmk_base/discovery.py
Log Message:
-----------
Show information about discovered host labels in bulk discovery
CMK-2458
Change-Id: I0cc96a4349ed35111fc53c2ebb51c3045f3cb79a
Commit: d0788272dbdc44f54f41064d9a2ad86dc6bcf17e
https://github.com/tribe29/checkmk/commit/d0788272dbdc44f54f41064d9a2ad86dc…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/wato/pages/services.py
M cmk_base/automations/check_mk.py
M cmk_base/discovery.py
Log Message:
-----------
Show discovered host labels on WATO discovery page
Display the discovered labels by plugin in a table above the services.
CMK-2458
Change-Id: I3d435621953195630ffa80c9ec125470573e2017
Commit: b35ce36a273617d738561328f857dd5c87c8b4d2
https://github.com/tribe29/checkmk/commit/b35ce36a273617d738561328f857dd5c8…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
A .werks/8841
Log Message:
-----------
8841 Change internal mechanic of discovered host labels
The discovered host labels which were introduced during the first beta
versions of Checkmk 1.6 had to be reworked for some reasons. The new
implementation is now based on the Service discovery mechanism, which
makes several things a lot easier for us.
Host labels are now discovered during the procedure of Checkmk service
discovery. All discovery functions of the checks are able to either
discover services and host labels.
<ul>
<li>The "Check_MK Discovery" service tells you about new found host
labels,
just like about services.</li>
<li>You can use the "Service discovery" page of WATO to view the
discovered
host labels. New discovered host labels now trigger a warning state by default.
This state can be configured using the "Periodic service discovery" ruleset.
<li>The automatic activation function, that can be configured in the "Periodic
service discovery" ruleset may be used to automatically add new host labels on
a regular base.</li>
<li>Whenever you execute a service discovery (via command line, GUI or API),
the host labels will also be discovered.</li>
<li>CEE: The DCD can immediately add host labels when you have enabled the
service discovery for a DCD connection.</li>
</ul>
Check programmers: You may add something like this to your discovery
functions for creating host labels:
C+:
yield HostLabels(
HostLabel(u"os", u"Windows"),
HostLabel(u"type", u"security"),
)
C-:
This adds two host labels os:Windows and type:security to the host.
Change-Id: I83f6f411eeaeabcd5ded70e827264cee693cd9d0
Commit: 9c5d53b71170dac206b3dbaabba1cf68485c43b2
https://github.com/tribe29/checkmk/commit/9c5d53b71170dac206b3dbaabba1cf684…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M tests/unit/checks/checktestlib.py
Log Message:
-----------
Ignore host label discovery in generic tests for the moment
Change-Id: I5081bc1aca5f1989a5e171631d74303ea4c5efed
Commit: d292056f7f758a3bb175098bab1df70088158318
https://github.com/tribe29/checkmk/commit/d292056f7f758a3bb175098bab1df7008…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
A checks/labels
M tests/unit/cmk/utils/test_man_pages.py
Log Message:
-----------
labels: Add plugin to discover generic host labels
Change-Id: I1847923305d7e2d9be0874d031a03c9a358c61c1
Commit: 258a5913f68a09c9e5a3f56c1761dc3cadcf6aa6
https://github.com/tribe29/checkmk/commit/258a5913f68a09c9e5a3f56c1761dc3ca…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk_base/data_sources/piggyback.py
Log Message:
-----------
Introduce source labels for piggybacked hosts
Each host that receives piggybacked information now get's one label
added per piggyback source. Since a host can get data from multiple
piggyback sources we need to use a scheme like this:
<tt>cmk/piggyback_source_[hostname]:yes</tt>
E.g. in case of a docker container, which only receives the piggyback
data from it's docker node named "docker1", a label
<tt>cmk/piggyback_source_docker1:yes</tt> will be added to the containers
of this node.
Change-Id: Ib49d4cbe766a8e3112af8257446affdff978d34b
Commit: 4321a7eb70f0acec82fd3e5e695bd02be1576677
https://github.com/tribe29/checkmk/commit/4321a7eb70f0acec82fd3e5e695bd02be…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
A .werks/8840
M checks/docker_container_status
M checks/docker_node_info
M checks/omd_status
Log Message:
-----------
8840 Docker: Introduce host labels for different docker hosts
Docker nodes will now automatically marked with the discovered label
"cmk/docker_object:node".
The docker container host objects will be marked with the host label
"cmk/docker_object:container".
We'll use the "cmk/" prefix for all our internal labels from now.
Change-Id: Ifce3444ddaadf7cc043a44679c7dc2ffcdc5a18a
Commit: c92fbc7114d5129c12fb4c142586290e99c6b9dc
https://github.com/tribe29/checkmk/commit/c92fbc7114d5129c12fb4c142586290e9…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/views/painters.py
Log Message:
-----------
Docker node painter for containers
Add a docker node painter to show the name of the docker node the
container is executed on. Linking to the details page of that host.
Change-Id: Ic1a7e71b32e7156194000ef63c33586cabdadce4
Commit: 171dac1ae6e6eb1f29fc2940dbc60c8322117403
https://github.com/tribe29/checkmk/commit/171dac1ae6e6eb1f29fc2940dbc60c832…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/views/builtin.py
M tests/unit/cmk/gui/test_gui_config.py
Log Message:
-----------
Docker views
Based on the recently added labels there are two new views that
list the docker containers and nodes.
Change-Id: I1ccd32b943b3428fb00e51f5c54b8974e88c5b35
Commit: 51036f592e1a443867a42c8c49561627725d52d2
https://github.com/tribe29/checkmk/commit/51036f592e1a443867a42c8c495616277…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M .werks/8841
A .werks/8842
M checks/docker_container_status
M checks/docker_node_info
M checks/omd_status
M cmk_base/discovery.py
M cmk_base/dump_host.py
M tests/unit/checks/checktestlib.py
Log Message:
-----------
8842 Show host labels in "cmk -D HOST" output
The effective host labels can now be displayed on
the command line using "cmk -D HOST".
Change-Id: If9b0b7571c10d8880398cdefeddefc8ade9d3df5
Commit: 828c058cd0fe35a69d7c44ea10e7828cdb86301d
https://github.com/tribe29/checkmk/commit/828c058cd0fe35a69d7c44ea10e7828cd…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/utils/labels.py
M cmk_base/discovered_labels.py
Log Message:
-----------
Skip old discovered labels as early as possible
Change-Id: Iad5dd9cc38be480a84b80aab807d6c15bff2b56a
Commit: 141fef7bb25e8cc737746fb15853f6fb110848ea
https://github.com/tribe29/checkmk/commit/141fef7bb25e8cc737746fb15853f6fb1…
Author: Simon Meggle <simon.meggle(a)elabit.de>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M docker/docker-entrypoint.sh
Log Message:
-----------
Added hook function to docker-entrypoint.sh
Fixes #30
Change-Id: I3e8234d38b5e2241b3ebb3302017e36d300fdd73
Commit: 55ae5946e2a2e0d3679dda7fddb29f820158fc17
https://github.com/tribe29/checkmk/commit/55ae5946e2a2e0d3679dda7fddb29f820…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M cmk/gui/plugins/webapi/webapi.py
Log Message:
-----------
Fix issue after API change
Change-Id: I795efdc0485d3a66856b4eac753bffb6fd89b1fe
Commit: 22607e4dd0a342f58c3084dc98649c071c349b9b
https://github.com/tribe29/checkmk/commit/22607e4dd0a342f58c3084dc98649c071…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2019-08-01 (Thu, 01 Aug 2019)
Changed paths:
M docker/docker-entrypoint.sh
Log Message:
-----------
Revert "Added hook function to docker-entrypoint.sh"
This reverts commit 141fef7bb25e8cc737746fb15853f6fb110848ea.
Compare:
https://github.com/tribe29/checkmk/compare/f4e69fe17d42...22607e4dd0a3