Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 65b163b2cce2b511ce51c572c6b90ef8480038d6
https://github.com/Checkmk/checkmk/commit/65b163b2cce2b511ce51c572c6b90ef84…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
A .werks/15894
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_domino_tasks.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:
-----------
FIX: State and Count of Processes: Calculate process creation time consistently
The creation time of a process, as displayed by the "State and Count of
Processes" service is calculated by taking the difference between the current time
and the time elapsed since the process was started.
Previously, this used the time the check was performed at as the current time, leading to
different creation times if different services were created for the same process.
Now the time the agent section was parsed is used instead.
Note that this will still lead to incorrect creation times if it takes too long to fetch
the agent output.
SUP-14394
Change-Id: If282dc8258395a69a67344b448fdfec86d0c2f6f
Commit: b60e7cd8ebddeb31790fb2a9a6031ca1fe3f7b1d
https://github.com/Checkmk/checkmk/commit/b60e7cd8ebddeb31790fb2a9a6031ca1f…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
A .werks/15895
M agents/check_mk_agent.linux
M cmk/base/plugins/agent_based/ps_section.py
M tests/unit/cmk/base/plugins/agent_based/test_ps_section.py
Log Message:
-----------
FIX: State and Count of Processes: Use remote server time for process creation time when
using Linux agent
As mentioned in werk 15894, the reference time used to calculate the creation time of a
process as displayed by the "State and Count of Processes" service is the time
the agent section was parsed.
The <tt>check_mk_agent.linux</tt> agent will now also output the time at which
the ps command was executed to be used as a reference instead.
The agent must be redeployed to take advantage of this change.
SUP-14394
Change-Id: Iac7c9b59d01a9b5dc5d46ca501d849d6fa84e463
Commit: 75f155e44381468558ef6405d22bd78bce3adfa6
https://github.com/Checkmk/checkmk/commit/75f155e44381468558ef6405d22bd78bc…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
A .werks/15896
M agents/check_mk_agent.aix
M agents/check_mk_agent.solaris
M cmk/base/plugins/agent_based/ps_section.py
M tests/unit/cmk/base/plugins/agent_based/test_ps_section.py
Log Message:
-----------
15896 FIX State and Count of Processes: Use remote server time for process creation time
when using Solaris or AIX agent
As mentioned in werk 15894, the reference time used to calculate the creation time of a
process as displayed by the "State and Count of Processes" service is the time
the agent section was parsed.
The <tt>check_mk_agent.solaris</tt> and
<tt>check_mk_agent.aix</tt> agents will now also output the time at which the
ps command was executed to be used as reference instead.
The agent must be redeployed to take advantage of this change.
SUP-14394
Change-Id: I734ef73b6707310543b7e8bc65160a095742d867
Commit: f361f7f73e112de76ff577a2982750699060fc3c
https://github.com/Checkmk/checkmk/commit/f361f7f73e112de76ff577a2982750699…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M .werks/15896
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.macosx
M agents/check_mk_agent.netbsd
M agents/check_mk_agent.openbsd
M agents/check_mk_agent.openwrt
Log Message:
-----------
State and Count of Processes: Add remote server time for more agents
Output the time at which the ps-command was executed for freebsd, macosx, netbsd, openbsd
and openwrt agents
SUP-14394
Change-Id: Iea08e2e61e79f4b82bbd68ada7520767fe7a52de
Compare:
https://github.com/Checkmk/checkmk/compare/23dddc938aa6...f361f7f73e11