Module: check_mk
Branch: master
Commit: bd4cbcf6b498878f51d8bb57556902c3e51eb841
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bd4cbcf6b49887…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Feb 18 12:42:41 2019 +0100
CMK-1544: Update Werk 7164
Change-Id: I5cb9c793a149c1ffc2265e91653437090f5e887a
---
.werks/7164 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.werks/7164 b/.werks/7164
index c0b2e7c..be88e4c 100644
--- a/.werks/7164
+++ b/.werks/7164
@@ -18,3 +18,8 @@ like <code>copying plugins\cmk-update-agent.exe to temp\cmk-update-agent.exe fai
The agent updater now will cancel the connection if there is a connection timeout detected
or if the connection freezes. The timeout limit is set to 120 seconds.<br>
This timeout handling does not limit the overall connection time.
+
+Please note: This timeout is only active for connections handled by python-requests.<br>
+This fix won't apply if you are running the agent updater using cURL.
+(i.e. you are running the Check_MK Agent Updater 1.4 on a Linux/UNIX host and
+there is no python-requests module installed.)
\ No newline at end of file
Module: check_mk
Branch: master
Commit: a5a46ad59a30683406a136f1f1460bef36e8c3d5
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a5a46ad59a3068…
Author: Andreas Umbreit <au(a)mathias-kettner.de>
Date: Mon Feb 18 09:00:38 2019 +0100
7164 FIX cmk-update-agent: Add timeout handling for connection to server
Previously, the connection from the agent updater to the Check_MK Server did
not handle timeouts. This could lead to situations where the agent updater
would run forever waiting for a response.
This was particularly noticeable when running the agent updater under Windows,
because the agent updater would fail to start over again, showing an error
like <code>copying plugins\cmk-update-agent.exe to temp\cmk-update-agent.exe failed</code>.
The agent updater now will cancel the connection if there is a connection timeout detected
or if the connection freezes. The timeout limit is set to 120 seconds.<br>
This timeout handling does not limit the overall connection time.
Change-Id: I7d6d49cf099e6c5f326c4dd8dce2c586957facf1
---
.werks/7164 | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.werks/7164 b/.werks/7164
new file mode 100644
index 0000000..c0b2e7c
--- /dev/null
+++ b/.werks/7164
@@ -0,0 +1,20 @@
+Title: cmk-update-agent: Add timeout handling for connection to server
+Level: 1
+Component: agents
+Compatible: compat
+Edition: cee
+Version: 1.6.0i1
+Date: 1550475651
+Class: fix
+
+Previously, the connection from the agent updater to the Check_MK Server did
+not handle timeouts. This could lead to situations where the agent updater
+would run forever waiting for a response.
+
+This was particularly noticeable when running the agent updater under Windows,
+because the agent updater would fail to start over again, showing an error
+like <code>copying plugins\cmk-update-agent.exe to temp\cmk-update-agent.exe failed</code>.
+
+The agent updater now will cancel the connection if there is a connection timeout detected
+or if the connection freezes. The timeout limit is set to 120 seconds.<br>
+This timeout handling does not limit the overall connection time.