Module: check_mk
Branch: master
Commit: 178fcc1ed8d27de5ecd766ea33601d96b66b2440
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=178fcc1ed8d27d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jun 10 09:42:51 2014 +0200
Fixed exception for Check_MK services of snmp based hosts not using inline snmp
(NameError...)
---
modules/check_mk.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 1a2129b..d7f4e3c 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -3352,6 +3352,8 @@ no_inventory_possible = None
if has_inline_snmp and use_inline_snmp:
output.write(stripped_python_file(modules_dir +
"/inline_snmp.py"))
+ else:
+ output.write("has_inline_snmp = False\n")
else:
output.write("has_inline_snmp = False\n")