Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 7d02206658b68879582d242add565bc5d8852d76
https://github.com/tribe29/checkmk/commit/7d02206658b68879582d242add565bc5d…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-17 (Mon, 17 May 2021)
Changed paths:
M cmk/core_helpers/agent.py
M tests/unit/cmk/core_helpers/test_parsers.py
Log Message:
-----------
Separate agent data parsing and modification
Now, the actual parsing, filtering with the selection, and
transformation of the parsed results are done in separate steps.
This simplifies the parser and makes the transformation of the
raw data into the `HostSections` container more explicit.
* Typing in the parser now better reflects the format of
the raw data as follows:
Union[
Mapping[SectionHeader, Content], # <<<xxx>...<<<>>>
Mapping[PiggybackHeader, # <<<<xxxx>>>>
Mapping[SectionHeader, Content] # <<<xxx>>>...<<<>>>
] # <<<<>>>>
]
* The better typing lets us more clearly separate the mutable
containers required *during* parsing and the immutable ones used
*after* parsing.
* The more extensive parsing of the piggybacked data lets us
remove the "double-parsing" that occured in the parser and
as well as in `_make_updated_piggyback_section_header()`.
Change-Id: I9b2bf25e6a742478561e0032a2f1ae0b724767d2
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 269c46bc5a77c517fc3ad7e6054f943289cc3c4a
https://github.com/tribe29/checkmk/commit/269c46bc5a77c517fc3ad7e6054f94328…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
REST API: add missing descriptions
Change-Id: I04f145dfef3287ac1f3d6f06c3f0d58a85b0536f
Commit: f5d73a29a364b4c5c258a7eec0b1f529bcfccc57
https://github.com/tribe29/checkmk/commit/f5d73a29a364b4c5c258a7eec0b1f529b…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/bi.py
Log Message:
-----------
REST API: Add simple descriptions to BI fields
Change-Id: I6469046cf6a1342bd87337e3eefb9ecd5cf74f45
Commit: a0d1bdd508be076ca17fb33f686bfd9ce61d8692
https://github.com/tribe29/checkmk/commit/a0d1bdd508be076ca17fb33f686bfd9ce…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
A .werks/12374
M cmk/gui/plugins/openapi/endpoints/time_period.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
Log Message:
-----------
12374 FIX API time_period: fixing show endpoint which failed when time period with no exclude was called
In the previous version, the show endpoint of the time period failed
when a time period had no exclude configured. This werk fixes this
behaviour.
Change-Id: If84956f591140fc18bd654c46d42eb9b3ccc985a
Commit: 45f7ae3d211e7cb8180e0bcc24b7a2d538bee7c7
https://github.com/tribe29/checkmk/commit/45f7ae3d211e7cb8180e0bcc24b7a2d53…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
Log Message:
-----------
REST API: folder and doc
Change-Id: I2132889804abb2fafb3d7ef8ae9088e4c6856123
Commit: 3d0e21d02a3bf02de5c67da1b7d376f5f0ff6f2e
https://github.com/tribe29/checkmk/commit/3d0e21d02a3bf02de5c67da1b7d376f5f…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host.py
M cmk/gui/plugins/openapi/endpoints/service.py
M cmk/gui/plugins/openapi/filters.py
M cmk/gui/plugins/openapi/livestatus_helpers/types.py
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: status endpoint documentation
Change-Id: I01d33c9b58a6b7e4c5b5e6cd2a279be916c98b22
Commit: 0b8634335ecdcf24c164b0fa0b2999f5d556210d
https://github.com/tribe29/checkmk/commit/0b8634335ecdcf24c164b0fa0b2999f5d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: Host and Folder documentation
Change-Id: Icdc2c1e5577353adf1603aff49a99a5c9d24d420
Commit: 2e95be6a189e987f6d256077fc297f856568df0d
https://github.com/tribe29/checkmk/commit/2e95be6a189e987f6d256077fc297f856…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/host_group_config.py
M cmk/gui/plugins/openapi/endpoints/service_group_config.py
Log Message:
-----------
REST API: bulk-update documentation
Change-Id: Iae4093c2cc01f66e7dc293e9397ddca792ca2ec7
Commit: cd6ff8683ff48219f24dc8b8fb73e7ad29b01a60
https://github.com/tribe29/checkmk/commit/cd6ff8683ff48219f24dc8b8fb73e7ad2…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: documentation updates
Change-Id: Ib72bf842a8b8814d238b7ab3621d8b9efdea6aa2
Commit: d64b715c2075d41cb2011d6cfed16dd970c7e99d
https://github.com/tribe29/checkmk/commit/d64b715c2075d41cb2011d6cfed16dd97…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: spec compatibility
Change-Id: I230e202e29f525494dbb8cf44493675ff79b97ee
Commit: f330d7356039eb6cd6e4b7412d7cf6a0fea90b2c
https://github.com/tribe29/checkmk/commit/f330d7356039eb6cd6e4b7412d7cf6a0f…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_tag.py
Log Message:
-----------
REST API: fix imports of tag group endpoint
Change-Id: I6cdf60fa53c5aa7342793e06f4bd0fc77f252be2
Commit: 11c1c9d12a981382c8e13e3e7e63b5099a2b1fe4
https://github.com/tribe29/checkmk/commit/11c1c9d12a981382c8e13e3e7e63b5099…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/params.py
Log Message:
-----------
REST API: require a description for all input fields
Change-Id: I5f40c84e59222cc605f4fcb92d2cfea79fa9f697
Commit: 5fafbfc0e72a87b42129419b3ee3c3b06863670c
https://github.com/tribe29/checkmk/commit/5fafbfc0e72a87b42129419b3ee3c3b06…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: doc updates
Change-Id: I31961801c3e14f5eaaccceb2610feb2a3d063eb2
Commit: e01f879564ed9ad647e060902dcc3a75d92544c4
https://github.com/tribe29/checkmk/commit/e01f879564ed9ad647e060902dcc3a75d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
Log Message:
-----------
REST API: status codes of acknowledgement endpoints
Change-Id: Id2a3d91240140d8aa134351f31d793156836b874
Compare: https://github.com/tribe29/checkmk/compare/f803bae8008b...e01f879564ed
Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: aa43a10e14be10c4468671a6eabb40ff008db899
https://github.com/tribe29/checkmk/commit/aa43a10e14be10c4468671a6eabb40ff0…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
A .werks/12684
M cmk/special_agents/agent_kubernetes.py
M tests/unit/cmk/special_agents/test_agent_kubernetes_nodes.py
Log Message:
-----------
12684 FIX agent_kubernetes: inaccurate timestamp conversion
Seen while working on CMK-7644
time.mktime is not the correct function to use to convert timestamp
strings to seconds since epoch, because it always assumes the input to
be in local time. This is even though the datetime object is time zone
aware. See:
https://docs.python.domainunion.de/3/library/time.html#time.mktime
This lead to wrong timestamps being calculated if the remote server was
set to a different time zone than the localhost.
Also, the current time zone of the localhost is irrelevant for
calculating timestamps from a remote server.
Change-Id: I6ecc86bacef0c6ee02c784f8382087113a926d00
Commit: 92056496f04e9d8838f9e1ad0d243e71b2159f76
https://github.com/tribe29/checkmk/commit/92056496f04e9d8838f9e1ad0d243e71b…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/special_agents/agent_kubernetes.py
Log Message:
-----------
agent_kubernetes: improved Nodes stats initialisation
CMK-7644
Change-Id: Iaf6096bc86f8f9204bd8670ad5d1d5002bca5169
Compare: https://github.com/tribe29/checkmk/compare/56df253039fc...92056496f04e
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 90c64dc6c8ccdad4dcaa5ea3d304bb91c3ea35b9
https://github.com/tribe29/checkmk/commit/90c64dc6c8ccdad4dcaa5ea3d304bb91c…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/base/sources/fetcher_configuration.py
M cmk/core_helpers/cache.py
M cmk/core_helpers/controller.py
M tests/unit/cmk/base/sources/test_fetcher_configuration.py
M tests/unit/cmk/core_helpers/test_controller.py
M tests/unit/cmk/core_helpers/test_fetchers.py
Log Message:
-----------
Fetch from cluster
* Split host/cluster configuration
* Let the controller fetch from each node of a cluster,
only setting a (probably) larger cache age.
CMK-7752
Change-Id: I00a96a26555acab8918dd4f4a447cce3d7c2f4c8
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4f26aab39e6b3742dcd11f591e22bc36f6b9fecc
https://github.com/tribe29/checkmk/commit/4f26aab39e6b3742dcd11f591e22bc36f…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/base/plugins/agent_based/domino_tasks.py
M cmk/base/plugins/agent_based/ps_check.py
M cmk/base/plugins/agent_based/ps_section.py
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.py
Log Message:
-----------
ps: improve ps_info
Change-Id: Ic42d5c9ebd30c2b233febb054b9f8097b070434b
Commit: f11b479225b01f32a6d38b138a1e803d1dd5115f
https://github.com/tribe29/checkmk/commit/f11b479225b01f32a6d38b138a1e803d1…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
A .werks/12684
M cmk/special_agents/agent_kubernetes.py
M tests/unit/cmk/special_agents/test_agent_kubernetes_nodes.py
Log Message:
-----------
12684 FIX agent_kubernetes: inaccurate timestamp conversion
Seen while working on CMK-7644
time.mktime is not the correct function to use to convert timestamp
strings to seconds since epoch, because it always assumes the input to
be in local time. This is even though the datetime object is time zone
aware. See:
https://docs.python.domainunion.de/3/library/time.html#time.mktime
This lead to wrong timestamps being calculated if the remote server was
set to a different time zone than the localhost.
Also, the current time zone of the localhost is irrelevant for
calculating timestamps from a remote server.
Change-Id: I6ecc86bacef0c6ee02c784f8382087113a926d00
Commit: df9af9c864d2e9c5f54f738ab958f14c198f8479
https://github.com/tribe29/checkmk/commit/df9af9c864d2e9c5f54f738ab958f14c1…
Author: Lisa Pichler <lisa.pichler(a)tribe29.com>
Date: 2021-05-14 (Fri, 14 May 2021)
Changed paths:
M cmk/special_agents/agent_kubernetes.py
Log Message:
-----------
agent_kubernetes: improved Nodes stats initialisation
CMK-7644
Change-Id: Iaf6096bc86f8f9204bd8670ad5d1d5002bca5169
Compare: https://github.com/tribe29/checkmk/compare/e5a82ab05478...df9af9c864d2