Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 3ca858690d50afcdf789aa1f77b1c204cd33dc7f
https://github.com/Checkmk/checkmk/commit/3ca858690d50afcdf789aa1f77b1c204c…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/__init__.py
R cmk/fetchers/_agentctl.py
A cmk/fetchers/_agentprtcl.py
M cmk/fetchers/_tcp.py
A tests/unit/cmk/checkers/test_agent_protocol.py
M tests/unit/cmk/checkers/test_fetchers.py
R tests/unit/cmk/checkers/test_tcp_agent_ctl.py
Log Message:
-----------
Rename module for clarity
Change-Id: I6ffc97909a113f1a6478a8abdcb8200b88a1e017
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 1b4721d51931850efff1fb5a762771f6667994a7
https://github.com/Checkmk/checkmk/commit/1b4721d51931850efff1fb5a762771f66…
Author: Lukas Lengler <lukas.lengler(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
A .werks/15549
M cmk/base/plugins/agent_based/mssql_blocked_sessions.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_blocked_sessions.py
Log Message:
-----------
15549 FIX Crash: mssql_blocked_sessions using pre-1.6 MSSQL agent plugin
When using a pre-1.6 MSSQL agent plugin the {{mssql_blocked_sessions}}
check plugins would crash during discovery.
The pre-1.6 MSSQL agent plugins are now deprecated and can no longer be used.
Old still existing services will go to {{UNKNOWN}} and encourage you to update
to a newer agent plugin version.
After a rediscovery the old services will vanish and new services will not be
discovered.
Therefore an upgrade as described in Werk #6140 is necessary.
Change-Id: I2edf7bac0b82b236abc6913581b0a34807d9543b
Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 7a760e73b7be4027745112840034951859940314
https://github.com/Checkmk/checkmk/commit/7a760e73b7be402774511284003495185…
Author: Lukas Lengler <lukas.lengler(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
A .werks/15549
M cmk/base/plugins/agent_based/mssql_blocked_sessions.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_blocked_sessions.py
Log Message:
-----------
15549 FIX Crash: mssql_blocked_sessions using pre-1.6 MSSQL agent plugin
When using a pre-1.6 MSSQL agent plugin the {{mssql_blocked_sessions}}
check plugins would crash during discovery.
The pre-1.6 MSSQL agent plugins are now deprecated and can no longer be used.
Old still existing services will go to {{UNKNOWN}} and encourage you to update
to a newer agent plugin version.
After a rediscovery the old services will vanish and new services will not be
discovered.
Therefore an upgrade as described in Werk #6140 is necessary.
Change-Id: I2edf7bac0b82b236abc6913581b0a34807d9543b
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: d7bfa489db7fad942eb23c2765f7d4b47f8d2316
https://github.com/Checkmk/checkmk/commit/d7bfa489db7fad942eb23c2765f7d4b47…
Author: Simon Jess <simon.jess(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M tests/unit/cmk/base/agent_based/test_base_inventory.py
Log Message:
-----------
inventory: Add test
Change-Id: I2234910c75890d3b7d96e81b5efad8881228d9e3
Commit: dc51f1903217fbe31829125763aa774a2c02ed2c
https://github.com/Checkmk/checkmk/commit/dc51f1903217fbe31829125763aa774a2…
Author: Simon Jess <simon.jess(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/base/api/agent_based/inventory_classes.py
M cmk/checkengine/inventory.py
M cmk/utils/structured_data.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/utils/structured_data/test_structured_data.py
Log Message:
-----------
inventory: First collect all related items, then populate
Change-Id: Ieca3a72c263dd6702f4823072bdf2651ee87a2ee
Compare: https://github.com/Checkmk/checkmk/compare/7ae580cecdaf...dc51f1903217
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 7dac30a69be158b4a34b06a7930e8c2f53dacb2e
https://github.com/Checkmk/checkmk/commit/7dac30a69be158b4a34b06a7930e8c2f5…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/_tcp.py
M tests/unit/cmk/checkers/test_fetchers.py
Log Message:
-----------
Move protocol-stuff out of class
Fetching and parsing the protocol are two relatively
independent responsibilities.
Change-Id: I05e8b8c0ae4fc12f9f734e278ca48ccd2f0c4da7
Commit: 1a94f933428835e7617cccafd29b5b8185bd5623
https://github.com/Checkmk/checkmk/commit/1a94f933428835e7617cccafd29b5b818…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/__init__.py
M cmk/fetchers/_agentctl.py
M cmk/fetchers/_tcp.py
M cmk/utils/encryption.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_tcp_agent_ctl.py
M tests/unit/cmk/utils/test_encryption.py
Log Message:
-----------
Group tcp-protocol-routines in tcp-protocol module
Change-Id: I7a611660cb60b482ab5e37bb00402a2fffe9a7ba
Commit: 7ae580cecdaf2e2224a0c9f858ffe27155e3bc34
https://github.com/Checkmk/checkmk/commit/7ae580cecdaf2e2224a0c9f858ffe2715…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/__init__.py
M cmk/fetchers/_agentctl.py
M cmk/fetchers/_tcp.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_tcp_agent_ctl.py
Log Message:
-----------
Move more tcp-protocol-routines to tcp-protocol module
Change-Id: I058455ca5893677121bf8b03290b5a0c575e6e22
Compare: https://github.com/Checkmk/checkmk/compare/8cf7ee5a7502...7ae580cecdaf
Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 745de025e116ab7b4f21f73e50ffb91116936a27
https://github.com/Checkmk/checkmk/commit/745de025e116ab7b4f21f73e50ffb9111…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
A .werks/15767
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
M tests/agent-unit/test_log_section_time.sh
Log Message:
-----------
15767 FIX check_mk_agent: Fix crash in AIX and Solaris agents if agent profiling is on
AIX and Solaris agents would previously crash if agent profiling was activated
with LOG_SECTION_TIME=true.
The error in the agent output was:
C+:
./mk_filestats.py.log: cannot create [No such file or directory]
C-:
tr command was replaced with sed because it didn't work properly on some Solaris
and AIX environments. It left spaces in the name of the log file.
SUP-14208
Change-Id: I9310c30d620a96dd9a240c407d919e52e7ae5f56
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 61f5e22a4050cf97499c17a99f705cfeed803c7d
https://github.com/Checkmk/checkmk/commit/61f5e22a4050cf97499c17a99f705cfee…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
A .werks/15767
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
M tests/unit-shell/agents/test_log_section_time.sh
Log Message:
-----------
15767 FIX check_mk_agent: Fix crash in AIX and Solaris agents if agent profiling is on
AIX and Solaris agents would previously crash if agent profiling was activated
with LOG_SECTION_TIME=true.
The error in the agent output was:
C+:
./mk_filestats.py.log: cannot create [No such file or directory]
C-:
tr command was replaced with sed because it didn't work properly on some Solaris
and AIX environments. It left spaces in the name of the log file.
SUP-14208
Change-Id: I9310c30d620a96dd9a240c407d919e52e7ae5f56
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: e975071b37737af789a24ee0aeb9ae5b6285afe7
https://github.com/Checkmk/checkmk/commit/e975071b37737af789a24ee0aeb9ae5b6…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/_tcp.py
Log Message:
-----------
Only use `AgentRawData` where strictly necessary
That makes the representation more visible anywhere else.
CMK-13842
Change-Id: I713635a2b4992ff63ae28fef1e6540f147c50cf1
Commit: 042f7cdb80050fef000ba89a039d58d6ea2a24b6
https://github.com/Checkmk/checkmk/commit/042f7cdb80050fef000ba89a039d58d6e…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/_tcp.py
M tests/unit/cmk/checkers/test_fetchers.py
Log Message:
-----------
Move socket methods out of class
The two methods acted on the socket and not on the fetcher. Therefore,
they do not belong in the fetcher.
Change-Id: I256c59aef3ba1c574aa77a6b142068d472159626
Commit: f890c9fe76a2f7512ea64ce0f513222b72f39106
https://github.com/Checkmk/checkmk/commit/f890c9fe76a2f7512ea64ce0f513222b7…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M cmk/fetchers/_tcp.py
M tests/unit/cmk/checkers/test_fetchers.py
Log Message:
-----------
Fix overly complex error handling
The method would take an extra argument that would test a
precondition... on exit. 🤯
Change-Id: I7b39ce700909a3e81c7a247ffaee172c92e63d3a
Compare: https://github.com/Checkmk/checkmk/compare/153731cd222d...f890c9fe76a2