Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 8823100552df0e74abbe6e3b2dcb4517e8c02597
https://github.com/tribe29/checkmk/commit/8823100552df0e74abbe6e3b2dcb4517e…
Author: Kenneth Okoh <kenneth.okoh(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
A .werks/13386
M cmk/gui/plugins/dashboard/utils.py
M tests/unit/cmk/gui/test_dashboard.py
M web/htdocs/js/modules/figures/cmk_figures.js
Log Message:
-----------
13386 FIX Positioning of single metric dashlet content
In single metric dashlets the unit was shown in a new line beneath the
metric value. This is fixed and the dashlet's content centered vertically.
Also the minimum dashlet size is increased to avoid the overflowing of
edit controls.
(CMK-8074)
Change-Id: I65a06f027c75ef1a34a079dd93536cedcec3ed1b
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: bcde5fbbe92ce99b6e2a21b93322c29caf9e1508
https://github.com/tribe29/checkmk/commit/bcde5fbbe92ce99b6e2a21b93322c29ca…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
A .werks/12332
Log Message:
-----------
12332 FIX Stale status of host is correctly determined when host is not reachable
Previously, for some period of time the GUI identified incorrectlly an unreachable
host as a stale. It looked as if the unreachable host gained stale status for
a while and then lost this status.
With this release the problem has been fixed.
Change-Id: Ic12fb658c03a5c1b87112c74a1244200b1a3600a
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: afd6ad15a874e92063fa7f6c3af1541d5012ac86
https://github.com/tribe29/checkmk/commit/afd6ad15a874e92063fa7f6c3af1541d5…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListAsIntColumn.cc
M livestatus/src/AttributeListAsIntColumn.h
A livestatus/src/AttributeListColumnUtils.cc
A livestatus/src/AttributeListColumnUtils.h
M livestatus/src/AttributeListLambdaColumn.h
M livestatus/src/Makefile.am
Log Message:
-----------
Move useful function to their own file
Currently, the `AttributeListAsIntColumn::createFilter()` implementation
is shared with `AttributeBitmaskLambdaColumn` over inheritance.
This patch moves this implementation out of `AttributeListAsIntColumn`
to break the dependency and remove the artificial coupling and complexity.
The severance of the inheritance relationship is done elsewhere.
Also note that `AttributeListColumn` also uses the filter from
`AttributeListAsIntColumn`.
CMK-7076
Change-Id: I374a9809b977e6d407dfcca309a66c76c7619c05
Commit: ebcebdda658532d869662f6c5625cda63fc2929d
https://github.com/tribe29/checkmk/commit/ebcebdda658532d869662f6c5625cda63…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListLambdaColumn.h
Log Message:
-----------
Let AttributeBitmaskLambdaColumn inherit IntColumn
`AttributeBitmaskLambdaColumn` was inheriting another column:
`AttributeListAsIntColumn` but the only code they shared was
`createFilter()`. This patch removes the coupling between
these two columns. This is the first step before porting
`AttributeBitmaskLambdaColumn` to the new API.
CMK-7076
Change-Id: Iedace4f079f2d2eb1b6e7552f526e2409eec5442
Commit: 0508d9c46d829855f4b3c02971f846723c722fc0
https://github.com/tribe29/checkmk/commit/0508d9c46d829855f4b3c02971f846723…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListLambdaColumn.h
M livestatus/src/TableContacts.cc
Log Message:
-----------
Port AttributeBitmaskLambdaColumn to new column API
CMK-7076
Change-Id: I8530ce16a46d78bae859fefd51645cd647178e7b
Commit: 3379e15ac9ed7086944d72e3e5b085f548df2b62
https://github.com/tribe29/checkmk/commit/3379e15ac9ed7086944d72e3e5b085f54…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
R livestatus/src/AttributeListColumn.cc
M livestatus/src/AttributeListColumn.h
M livestatus/src/Makefile.am
Log Message:
-----------
Inline trivial delegation
This underlines the similarities between `AttributeListColumn` and
`AttributeListColumn2`. Also, there is practically no advantage
in hiding such a simple delegation.
CMK-7076
Change-Id: I7e01ab13336901009831634c396f9c1f0a94c35d
Commit: b99a82cff777d5c5a2796f4fe7d7e308feacbba2
https://github.com/tribe29/checkmk/commit/b99a82cff777d5c5a2796f4fe7d7e308f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListAsIntColumn.cc
M livestatus/src/AttributeListAsIntColumn.h
M livestatus/src/AttributeListColumn.h
Log Message:
-----------
Remove AttributeListAsIntColumn::getAttributes
The method was used in another column and this makes the implementation
of `AttributeListColumn` and `AttributeListColumn2` clearly identical.
CMK-7076
Change-Id: I71dfdca1fed0c4290d352eff0ed1e7603c735bc7
Commit: f6ac293bcd2142c63812fa476305f08301a362ef
https://github.com/tribe29/checkmk/commit/f6ac293bcd2142c63812fa476305f0830…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/TableContacts.cc
Log Message:
-----------
Clarify mapping relationship for Attributes
CMK-7076
Change-Id: Iae864e2da0882189a48c6a3295e087c7bac6314c
Commit: 1648fe360d035ac371ccd787203878ff8e707161
https://github.com/tribe29/checkmk/commit/1648fe360d035ac371ccd787203878ff8…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/TableHosts.cc
M livestatus/src/TableServices.cc
Log Message:
-----------
Remove AttributeListAsIntColumn callers
They are replaced with an equivalent `AttributeBitmaskLambdaColumn` that
inherits `IntColumn::Callback<T, Default>`.
CMK-7076
Change-Id: I79b07800a4163b07014ddcd93f2ef1bb4de9a718
Commit: 05a045e3534794ccf16630a16887444fa53b3d7e
https://github.com/tribe29/checkmk/commit/05a045e3534794ccf16630a16887444fa…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListLambdaColumn.h
M livestatus/src/IntLambdaColumn.h
M livestatus/src/TableContacts.cc
M livestatus/src/TableHosts.cc
M livestatus/src/TableServices.cc
Log Message:
-----------
Remove AttributeListColumn callers
They are replaced with an equivalent `AttributeListColumn2`
CMK-7076
Change-Id: I0b30fcd510d6fcc8cb04f0e4ecc7bfc23cee1adb
Commit: 89ef2fdec8dd473fd4785ff87fd545b147892ec8
https://github.com/tribe29/checkmk/commit/89ef2fdec8dd473fd4785ff87fd545b14…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
R livestatus/src/AttributeListAsIntColumn.cc
R livestatus/src/AttributeListAsIntColumn.h
R livestatus/src/AttributeListColumn.h
M livestatus/src/AttributeListLambdaColumn.h
M livestatus/src/Makefile.am
Log Message:
-----------
Remove definitions for obsolete columns
CMK-7076
Change-Id: Ie6fbf50eb2a806ca3da538b466824f50b436b0ce
Commit: d0ee2d97dd6cdf28aba95d3872b648d0c9f8dae9
https://github.com/tribe29/checkmk/commit/d0ee2d97dd6cdf28aba95d3872b648d0c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M livestatus/src/AttributeListLambdaColumn.h
R livestatus/src/IntColumn.cc
M livestatus/src/IntColumn.h
R livestatus/src/IntLambdaColumn.h
M livestatus/src/Makefile.am
M livestatus/src/TableComments.cc
M livestatus/src/TableContacts.cc
M livestatus/src/TableDowntimes.cc
M livestatus/src/TableEventConsole.h
M livestatus/src/TableEventConsoleEvents.cc
M livestatus/src/TableEventConsoleHistory.cc
M livestatus/src/TableEventConsoleRules.cc
M livestatus/src/TableEventConsoleStatus.cc
M livestatus/src/TableHostGroups.cc
M livestatus/src/TableHosts.cc
M livestatus/src/TableLog.cc
M livestatus/src/TableServiceGroups.cc
M livestatus/src/TableServices.cc
M livestatus/src/TableStateHistory.cc
M livestatus/src/TableStatus.cc
M livestatus/src/test/test_IntColumn.cc
Log Message:
-----------
Remove obsolete IntColumn
CMK-7076
Change-Id: Id2a7bd97e75c84332d6816dc47d406473fc7fadb
Commit: 56c2e2bc21f57a31f7304732c08dd350d54e1f73
https://github.com/tribe29/checkmk/commit/56c2e2bc21f57a31f7304732c08dd350d…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
R livestatus/src/AttributeListColumnUtils.cc
R livestatus/src/AttributeListColumnUtils.h
A livestatus/src/AttributeListLambdaColumn.cc
M livestatus/src/AttributeListLambdaColumn.h
M livestatus/src/Makefile.am
Log Message:
-----------
Merge Attribute*Utils into Attribute*Column
There no remains but one user -> cohesion.
CMK-7076
Change-Id: Id80e4620e61061d4bc0f805724ff8feb92453f58
Compare: https://github.com/tribe29/checkmk/compare/d8338c19cdb4...56c2e2bc21f5
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: d4963a28c03445f2e904c4bc2ff2d57e1f82a769
https://github.com/tribe29/checkmk/commit/d4963a28c03445f2e904c4bc2ff2d57e1…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M .gitignore
A .vscode/launch.json
A .vscode/settings.json
A .vscode/tasks.json
A livestatus/src/.vscode/c_cpp_properties.json
A livestatus/src/.vscode/keybindings.json
A livestatus/src/.vscode/settings.json
A livestatus/src/.vscode/spellright.dict
A livestatus/src/.vscode/tasks.json
Log Message:
-----------
Add VS Code support for git in root .gitignore
- add recommended files for C++ project: livestatus and cmc
This commit add recommended git settings for Visual Studio Code.
Intention of this CL is to help people using VC Code for C++ do not invent wheel
instead of development.
Change-Id: I7090f3fc8f5daf8ae9c54fc5385d3693ff0ad461
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 38df16c0b7090408c24ddf15d11dbe7a73cec346
https://github.com/tribe29/checkmk/commit/38df16c0b7090408c24ddf15d11dbe7a7…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M cmk/base/plugins/agent_based/utils/ps.py
M tests/unit/cmk/base/plugins/agent_based/test_ps_check.py
M tests/unit/cmk/base/plugins/agent_based/test_ps_section.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_ps_discovery_specs.py
Log Message:
-----------
ps: cleanup tests
The host label instances are *not* passed to or returned
by the get_discovery_specs function.
Change-Id: I32b8d3f53b61df18c3896b45e288953fae64c6f0
Commit: 07831abe60c92476836a8a92c643366bdedc20ac
https://github.com/tribe29/checkmk/commit/07831abe60c92476836a8a92c643366bd…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M cmk/base/discovered_labels.py
M tests/unit/cmk/base/test_discovered_labels.py
Log Message:
-----------
Labels: fix __eq__
TIL: Using __slots__ and __dict__ is a tricky combination:
>>> class A:
... __slots__ = "a",
... def __init__(self, a):
... self.a = a
...
>>> class B(A):
... pass
...
>>> class C(A):
... __slots__ = ()
...
>>> A(1).__dict__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'A' object has no attribute '__dict__'
>>> B(1).__dict__
{}
>>> C(1).__dict__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'C' object has no attribute '__dict__'
In this case this meant that all ServiceLabels compared equal.
Change-Id: I4bd1f0b99645ac4b6cbfd42de160f7336790cbc9
Commit: 98d834026303f78d81999b3d9db386f46087670f
https://github.com/tribe29/checkmk/commit/98d834026303f78d81999b3d9db386f46…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M cmk/base/discovered_labels.py
Log Message:
-----------
move labels to the top
Change-Id: I382841d209106cf9554b3a8696cb7aa8aa2a4685
Commit: d8338c19cdb4497f5d24093b1e0b8b51d3460e98
https://github.com/tribe29/checkmk/commit/d8338c19cdb4497f5d24093b1e0b8b51d…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M cmk/base/agent_based/discovery/__init__.py
M cmk/base/agent_based/discovery/_discovered_services.py
M tests/unit/cmk/base/agent_based/discovery/test_discovered_services.py
Log Message:
-----------
discovery: fix wrong classification of plugins for cmk -II
For -II, we must not remember the preexisting services.
That way, all discovered services will be considered 'new',
which is what the `-II` flag implies.
Change-Id: I9d64bfec77243dcc31118d2a2cc4dea1a6eb47a6
Compare: https://github.com/tribe29/checkmk/compare/570e21a332a2...d8338c19cdb4
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: a812c30fa1390f0dac4a68fb5aff1190cd4ad139
https://github.com/tribe29/checkmk/commit/a812c30fa1390f0dac4a68fb5aff1190c…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M Makefile
Log Message:
-----------
Add cmake to the main Makefile install
cmake is not always presented in installation, but it is required for the build of microcore
Change-Id: Icba5fd429bae44a4f022e3718fb6a0d354461be2
Commit: 0fe8771bcd7233044e1d2047e90b93132be8c4ee
https://github.com/tribe29/checkmk/commit/0fe8771bcd7233044e1d2047e90b93132…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M .gitignore
A .vscode/launch.json
A .vscode/settings.json
A .vscode/tasks.json
A livestatus/src/.vscode/c_cpp_properties.json
A livestatus/src/.vscode/keybindings.json
A livestatus/src/.vscode/settings.json
A livestatus/src/.vscode/spellright.dict
A livestatus/src/.vscode/tasks.json
Log Message:
-----------
Add VS Code support for git in root .gitignore
- add recommended files for C++ project: livestatus and cmc
This commit add recommended git settings for Visual Studio Code.
Intention of this CL is to help people using VC Code for C++ do not invent wheel
instead of development.
Change-Id: I7090f3fc8f5daf8ae9c54fc5385d3693ff0ad461
Commit: dcd1d7b7474384bcbd3f88a8bc6ac56986d1df87
https://github.com/tribe29/checkmk/commit/dcd1d7b7474384bcbd3f88a8bc6ac5698…
Author: Ulrich Bschorer <ulrich.bschorer(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M buildscripts/infrastructure/build-nodes/aws/build_ami.yml
Log Message:
-----------
buld_ami.yml: disable remote root login
Change-Id: I50cf519ec7fc01b1a010227a38a36588dab41ac3
Compare: https://github.com/tribe29/checkmk/compare/58eedbec80da...dcd1d7b74743
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 58eedbec80da081a0754a0d924859a7b347286f5
https://github.com/tribe29/checkmk/commit/58eedbec80da081a0754a0d924859a7b3…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths:
M tests/integration/omd/test_python.py
Log Message:
-----------
fix test_python_modules for uvicorn modules
uvicorn module top_next.txt doesn't comply to the packaging rule:
Subpackages are not included; a project containing both a ``foo.bar``
and a ``foo.baz`` would include only one line, ``foo``, in its
``top_level.txt``.
It also uses "/" in top_next.txt which is different from other modules we
import.
Change-Id: Ia90a72d29f39bcc27062099de03159f8c5e4e055