Module: check_mk
Branch: master
Commit: 1797871e6df6904ae96ac2eb9c10e545cbac0f0f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1797871e6df690…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Tue Jan 22 14:02:25 2019 +0100
mk_jolokia: fix search that has not worked in ages
Change-Id: I4cb991302aa2b22b74fee466ce03f3a0bfad028a
---
agents/plugins/mk_jolokia.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/agents/plugins/mk_jolokia.py b/agents/plugins/mk_jolokia.py
index 301d7ae..7b281e1 100755
--- a/agents/plugins/mk_jolokia.py
+++ b/agents/plugins/mk_jolokia.py
@@ -424,8 +424,7 @@ def _get_queries(do_search, inst, itemspec, title, path, mbean):
except IndexError:
return []
- return [("%s/%s" % (urllib2.quote(mbean_exp), path), path, itemspec,
mbean_exp)
- for mbean_exp in paths]
+ return [("%s/%s" % (urllib2.quote(mbean_exp), path), path, itemspec) for
mbean_exp in paths]
def _process_queries(inst, queries):