Module: check_mk
Branch: master
Commit: f8632a7934f435b276670bddf0e62ff7d3d9bfdc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f8632a7934f435…
Author: Sergey Kipnis <sk(a)mathias-kettner.de>
Date: Tue Apr 30 18:49:26 2019 +0200
60 sec default delay for all types of plugin
Change-Id: Iab5009e67049d56f0b743de538e974006643293f
---
agents/wnx/install/resources/check_mk.yml | 4 ++--
agents/wnx/src/engine/providers/plugins.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/agents/wnx/install/resources/check_mk.yml
b/agents/wnx/install/resources/check_mk.yml
index c481cd6..5cda3fc 100644
--- a/agents/wnx/install/resources/check_mk.yml
+++ b/agents/wnx/install/resources/check_mk.yml
@@ -211,7 +211,7 @@ plugins:
# default value, you may disable all scripts in local with no
player: '' # [-] when empty we wil use default value, i.e. our player
- max_wait: 11 # max timeout for every sync plugin. Agen will gather plugins data no
more than max_wait time.
+ max_wait: 60 # max timeout for every sync plugin. Agen will gather plugins data no
more than max_wait time.
# this is useful to terminate badly written or hanging plugins
@@ -268,7 +268,7 @@ local:
# default value, you may disable all scripts in local with no
player: '' # [-] when empty we wil use default value, i.e. our player
- max_wait: 11 # max timeout for every sync plugin. Agen will gather plugins data no
more than max_wait time.
+ max_wait: 60 # max timeout for every sync plugin. Agen will gather plugins data no
more than max_wait time.
# this is useful to terminate badly written or hanging plugins
diff --git a/agents/wnx/src/engine/providers/plugins.cpp
b/agents/wnx/src/engine/providers/plugins.cpp
index e1288aa..be0b9e2 100644
--- a/agents/wnx/src/engine/providers/plugins.cpp
+++ b/agents/wnx/src/engine/providers/plugins.cpp
@@ -62,7 +62,7 @@ void PluginsProvider::loadConfig() {
GetVal(cfg_name_, vars::kPluginMaxWait, kDefaultPluginTimeout);
if (configured_timeout < timeout_) {
- XLOG::d("Timeout is corrected fropm {} to {}", timeout_,
+ XLOG::d("Timeout is corrected from {} to {}", timeout_,
configured_timeout);
timeout_ = configured_timeout;
}