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.