Module: check_mk
Branch: master
Commit: 2a04df7a3a091a1a4a935928ddf53548e1c6f867
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a04df7a3a091a…
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 1af2c69..e372ade 100755
--- a/agents/plugins/mk_jolokia
+++ b/agents/plugins/mk_jolokia
@@ -517,7 +517,7 @@ for inst in instances:
inst["instance"] = str(inst["port"])
inst["instance"] = inst["instance"].replace(" ",
"_")
- if inst.get("server") == "use fqdn":
+ if inst.get("server") == ("use fqdn",):
inst["server"] = socket.getfqdn()
query_instance(inst)