Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 0b55251b6cae0a26257d57c166f5c2ec22160015
https://github.com/tribe29/checkmk/commit/0b55251b6cae0a26257d57c166f5c2ec2…
Author: Kenneth Okoh <kenneth.okoh(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M cmk/gui/htmllib/__init__.py
M web/htdocs/themes/facelift/scss/_pages.scss
Log Message:
-----------
htmllib refactoring: Remove try_max_width and omit_css_width params from text_input
* try_max_width is now handled via CSS
* omit_css_width is never used, thus dropped
* text_area is changed accordingly for the try_max_width param
* this refactoring shall facilitate a change for CMK-9350
Change-Id: If452c25a7dc1f55491af910b050b8053654ebc0c
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 5313b00eef4ce02545cf8a438d639752439d2aca
https://github.com/tribe29/checkmk/commit/5313b00eef4ce02545cf8a438d6397524…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M tests/unit/cmk/base/plugins/agent_based/test_gcp_function.py
Log Message:
-----------
Add test for predictive checks in gcp plugins
predictive checks can be configured on gcp plugins. Check that we
correctly call predictive checks once a compatible levels object
is passed to the check.
Closes: CMK-9942
Change-Id: I650ed958bd306eaadc591f7630bea549bf500554
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 1c43e2553514df198dadcc7928bde0a17b4e30d4
https://github.com/tribe29/checkmk/commit/1c43e2553514df198dadcc7928bde0a17…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13766
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
Log Message:
-----------
13766 FIX REST API: fix code example for endpoints which use booleans in their query params
In the previous version, boolean based query params were excluded from the
examples in the REST API documentation. This led to confusion as the params
were effectively empty for some endpoints. This werk fixes this and ensures
that all query params are shown in the python examples.
Change-Id: Ifef548811890d363fd59fd216c01890a127265f4
Commit: fdc3e1adf1532c4babe9c3933c181dfaa665d4e4
https://github.com/tribe29/checkmk/commit/fdc3e1adf1532c4babe9c3933c181dfaa…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13651
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
13651 API: fix user config show endpoints to include user attributes
Change-Id: Ia3c4b4381da688c5c5ca5e33f84cf2ce5ed6ff40
Commit: f908813accce8367583a80b50e1e0ca2a86dfb18
https://github.com/tribe29/checkmk/commit/f908813accce8367583a80b50e1e0ca2a…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13767
M cmk/gui/plugins/openapi/endpoints/user_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
13767 FIX API: fix show all users endpoint call when users have no emails
In the previous version, the show all users endpoint returned an error
if one of the users had no email present in its contact information.
This werk fixes this behaviour. It should be noted that this case is only
relevant for internal users. Users created through the REST-API or the UI
will always have an email placeholder field even if an email was not
specified.
Change-Id: I7fd0713cf07b95ab084980bede1dc1e94b0f158e
Commit: 03dca2d0a87b60a3ddc30b0bb87c83d9f965991d
https://github.com/tribe29/checkmk/commit/03dca2d0a87b60a3ddc30b0bb87c83d9f…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13768
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
13768 API: addition of enforce password change as configurable option for user create endpoint and moving the option in for the update endpoint
In the previous version, the enforce_password_change option was always set to True
when creating a new user with a password and was not a configurable option. This werk
changes this and introduces this as a configurable option defaulting to False. In
addition, this werk also moves this option to the auth password details for the update endpoint.
Change-Id: I6f8742d96f57880304069c5b62b7f4003ba16ab9
Commit: ea7b60554f582c21cda51ae8cc877a401b16ad97
https://github.com/tribe29/checkmk/commit/ea7b60554f582c21cda51ae8cc877a401…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13655
M cmk/gui/fields/definitions.py
M cmk/gui/watolib/host_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
13655 FIX REST API host_config: fix the create endpoint when including a host attribute
Change-Id: I1568d1f883998c5cf14ae3fe6906992acc2de888
Commit: 1a23a0620532327b19e32e2fc7a9777764a20edd
https://github.com/tribe29/checkmk/commit/1a23a0620532327b19e32e2fc7a977776…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
API user_config: fixing enforce user password change test
Change-Id: I97b02184e0938a19634c23c440303059e31ef1fe
Commit: 9b5ff73217dac5aedc9b8c353749fbf4207297ec
https://github.com/tribe29/checkmk/commit/9b5ff73217dac5aedc9b8c353749fbf42…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
test_openapi_user: remove dict assert to highlight the essentials of each test case
Change-Id: I2664aa938b6e82a929d40f3a9709a3ea56c481c2
Commit: b05637bca85033837e3e1af6e6edb1332af88a13
https://github.com/tribe29/checkmk/commit/b05637bca85033837e3e1af6e6edb1332…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
A .werks/13806
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
13806 API: addition of option to configure interface related attributes for user endpoints
This werk introduces the possibility to configure interface related attributes
for the user during the creation and update process.
Change-Id: Ide39592074ef766dd1a5b37eb48de6e305529b49
Compare: https://github.com/tribe29/checkmk/compare/747f989ca110...b05637bca850
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 56825bd52bf382a187587b2cabef10c24c7b53d7
https://github.com/tribe29/checkmk/commit/56825bd52bf382a187587b2cabef10c24…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M agents/plugins/mk_postgres.py
M tests/agent-plugin-unit/test_mk_postgres.py
Log Message:
-----------
Refactoring for mk_postgres
Change-Id: Id92bcbff5dcd9ec6bd02bb325012f75fa683f9eb
Commit: 28408abe532c85b9a7f8b6b69660ff320b5e2135
https://github.com/tribe29/checkmk/commit/28408abe532c85b9a7f8b6b69660ff320…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M tests/agent-plugin-unit/test_mk_postgres.py
Log Message:
-----------
Restructure mk_postgres tests
Change-Id: I820d78530268e1180c09339ef7cd82cc5c0ba98b
Commit: 960d1c6545e0ac2fb08bf0a756765779f4483909
https://github.com/tribe29/checkmk/commit/960d1c6545e0ac2fb08bf0a756765779f…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
A .werks/13580
M agents/plugins/mk_postgres.py
Log Message:
-----------
13580 FIX Only query fallback user in case of missing config
The agent plugin mk_postgres.py always first queried a default
user by using a sys call.
However this would not be needed if a valid config is available.
Change-Id: I1d7b2fd32a7e2c6810cbe352be4b3cad186d1f39
Commit: 293be3a5c6ea1949580e96402657ca72a814aee2
https://github.com/tribe29/checkmk/commit/293be3a5c6ea1949580e96402657ca72a…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M agents/plugins/mk_postgres.py
M tests/agent-plugin-unit/test_mk_postgres.py
Log Message:
-----------
Consolidate OS switches in mk_postgres
* This was already done for the OS specific queries
* Now also the setup steps have a factory
Change-Id: I97ed130133b2725c3fa7e6ac01258a4fb948be43
Commit: 258525f2daa91a88e392e10ef5cdbcd6a94e2056
https://github.com/tribe29/checkmk/commit/258525f2daa91a88e392e10ef5cdbcd6a…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M agents/plugins/mk_postgres.py
Log Message:
-----------
Beautify exception string
Change-Id: Iba5eb9835f3d7ad32f070f63e7504adc9c622964
Compare: https://github.com/tribe29/checkmk/compare/16dc2faac571...258525f2daa9
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 7e681d1481eecf414df7fb13e3d4fd4080a573f8
https://github.com/tribe29/checkmk/commit/7e681d1481eecf414df7fb13e3d4fd408…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
A .werks/13788
M tests/unit/cmk/utils/test_werks.py
Log Message:
-----------
13788 KUBE: New Workload Resource: DaemonSets
This werk introduces DaemonSets to the Kubernetes agent. Similar to the
other Kubernetes objects, Checkmk creates a piggyback host for each
DaemonSet. A DaemonSet host supports
- Pod resources
- Memory resources
- CPU resources
- Info
- HW/SW inventory
Change-Id: I309c6bc736f555ddcef93d6b08901e50640627a4
Commit: 12fe774b3271abe64ac7ab467c2055900fdb6af9
https://github.com/tribe29/checkmk/commit/12fe774b3271abe64ac7ab467c2055900…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
A .werks/13789
M tests/unit/cmk/utils/test_werks.py
Log Message:
-----------
13789 KUBE: New workload resource: StatefulSets
This werk introduces StatefulSets to the Kubernetes agent. Similar to the
other Kubernetes objects, Checkmk creates a piggyback host for each
StatefulSet. A StatefulSet host supports
- Pod resources
- Memory resources
- CPU resources
- Info
- HW/SW inventory
Change-Id: I8c4b9ce36c7c49a24a51449bc813ca48ff2770ea
Compare: https://github.com/tribe29/checkmk/compare/05a337191e80...12fe774b3271
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f5e7385b506f617d25258adf5ddd0eb039d8340a
https://github.com/tribe29/checkmk/commit/f5e7385b506f617d25258adf5ddd0eb03…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/permissions.py
Log Message:
-----------
permission system: rename may to has_permission
Change-Id: I34489963f876477805a47006402beb29fe22bb5a
Commit: d786a2876b42ba4dae7fabe8aacef061581034b2
https://github.com/tribe29/checkmk/commit/d786a2876b42ba4dae7fabe8aacef0615…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
permission system: better document nested permissions
Change-Id: Ia8ddd6d92fd9bcbd020f882ffe9db5729cd0ef04
Commit: 9b167f8d0bba3f62a3ef668620c32ded818ae1f5
https://github.com/tribe29/checkmk/commit/9b167f8d0bba3f62a3ef668620c32ded8…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/utils/logged_in.py
Log Message:
-----------
REST API: allow suppressing of permission usage tracking
* this is a workaround due to a long list of permissions
under the dashboard.* namespace, which are checked
at unopportune places for our endpoints.
* to circumvent this issue, we don't track those permissions
(close our eyes for reality) and require the permissions
manually in the endpoint.
Change-Id: Ica99c21f5657514abf623d9a614bd777054fa681
Commit: e1ea3e9b7c0af250acd373f5398bb6b54b20908e
https://github.com/tribe29/checkmk/commit/e1ea3e9b7c0af250acd373f5398bb6b54…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/host_group_config.py
M cmk/gui/plugins/openapi/endpoints/service_group_config.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/watolib/groups.py
M tests/testlib/users.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
M tests/unit/cmk/gui/utils/test_logged_in.py
M tests/unit/cmk/gui/watolib/test_groups.py
Log Message:
-----------
REST API: group endpoints authorization
* password endpoints now need "wato.groups", due to
the link to contact-groups
* all groups need "wato.groups" to be edited/acessed
Change-Id: I977cde5e64826578c97761091c62b423b91575b8
Commit: 16dc2faac5712cfc7e8430b708a4638689fd9062
https://github.com/tribe29/checkmk/commit/16dc2faac5712cfc7e8430b708a463868…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/certs.py
Log Message:
-----------
REST API: certificate endpoints authorization
Change-Id: I9b9639a436db62aca2ee17ebc9bc60d0a46df840
Compare: https://github.com/tribe29/checkmk/compare/a50560966122...16dc2faac571
Branch: refs/heads/2.1.0
Home: https://github.com/tribe29/checkmk
Commit: 05a337191e80d0ef897420e2c1c4d2f92dbf8cdd
https://github.com/tribe29/checkmk/commit/05a337191e80d0ef897420e2c1c4d2f92…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
A .werks/13412
M checkman/seh_ports
Log Message:
-----------
13412 FIX Update manpage for check 'seh_ports'
This check shows the state of the ports of the SEH myUTN dongle server
devices. The state of the port is not interpreted by checkmk, only displayed.
It is always shown as OK, except when the state changes:
If the current port state differs from the state seen at service
discovery time, the service will report WARN. To acknowledge the changed
port, execute the service discovery again.
SUP-9685
Change-Id: I66fe6f4bf6d77a9ad840b9b72dfb190036851369