Module: check_mk
Branch: master
Commit: e1cfdf79926a33597c2aed598dc41f0416c03259
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e1cfdf79926a33…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 2 09:39:01 2013 +0200
agent_vsphere: fix wrong connect timeout
---
agents/special/agent_vsphere | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/special/agent_vsphere b/agents/special/agent_vsphere
index 0be9c33..eeb6250 100755
--- a/agents/special/agent_vsphere
+++ b/agents/special/agent_vsphere
@@ -128,7 +128,7 @@ else:
sys.stderr.write("ERROR: Please specify exactly one host.\n")
sys.exit(1)
-socket.setdefaulttimeout(1)
+socket.setdefaulttimeout(opt_timeout)
def get_agent_info_tcp(hostname):
output = ""