Module: check_mk
Branch: master
Commit: 272c6e4d40f1dc9d35b2a7e1c8628544ecb90b40
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=272c6e4d40f1dc…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Aug 9 15:48:19 2017 +0200
mk_jolokia: Change sentinel value for local FQDN to 1-Tuple to avoid cosmetic issue in
WATO
Change-Id: Id1154d20e3874939ca4046116eedf73e2f02e6d9
---
agents/plugins/mk_jolokia | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/mk_jolokia b/agents/plugins/mk_jolokia
index 6a2e23a..1af2c69 100755
--- a/agents/plugins/mk_jolokia
+++ b/agents/plugins/mk_jolokia
@@ -478,7 +478,7 @@ conffile = os.getenv("MK_CONFDIR",
"/etc/check_mk") + "/jolokia.cfg"
if os.path.exists(conffile):
execfile(conffile)
-if server == "use fqdn":
+if server == ("use fqdn",):
server = socket.getfqdn()
if instance == None: