Module: check_mk
Branch: master
Commit: a51b2700aefc9747806c9a81afcdc08336b73e42
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a51b2700aefc97…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jun 10 14:18:51 2016 +0200
3653 FIX fileinfo.groups: Fixed UNKNOWN shown in WATO discovery when configured as manual
check
---
.werks/3653 | 10 ++++++++++
ChangeLog | 1 +
modules/discovery.py | 2 ++
3 files changed, 13 insertions(+)
diff --git a/.werks/3653 b/.werks/3653
new file mode 100644
index 0000000..7e8eed3
--- /dev/null
+++ b/.werks/3653
@@ -0,0 +1,10 @@
+Title: fileinfo.groups: Fixed UNKNOWN shown in WATO discovery when configured as manual
check
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1465561058
+
+
diff --git a/ChangeLog b/ChangeLog
index 0d28548..8f594e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -264,6 +264,7 @@
* 3590 FIX: mssql.vbs: Completely removed plugin timeout...
* 3643 FIX: Fixed check_mkevents active check....
* 3635 FIX: get_average: fixed overflow error
+ * 3653 FIX: fileinfo.groups: Fixed UNKNOWN shown in WATO discovery when configured as
manual check
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/modules/discovery.py b/modules/discovery.py
index efbd8b8..0cfba75 100644
--- a/modules/discovery.py
+++ b/modules/discovery.py
@@ -1120,6 +1120,8 @@ def get_check_preview(hostname, use_caches, do_snmp_scan,
on_error):
check_function = check_info[check_type]["check_function"]
if check_source != 'manual':
params = get_precompiled_check_parameters(hostname, item,
compute_check_parameters(hostname, check_type, item, params), check_type)
+ else:
+ params = get_precompiled_check_parameters(hostname, item, params,
check_type)
try:
reset_wrapped_counters()