Module: check_mk
Branch: master
Commit: 96a001330aacaf4d73a0adf5a3de716f4430488c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=96a001330aacaf…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Wed Sep 19 15:53:59 2012 +0200
agents/plugins/jolokia: Add info to send for tomcat state and request counters
---
agents/plugins/mk_jolokia | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/agents/plugins/mk_jolokia b/agents/plugins/mk_jolokia
index 8a2ac77..f7be1f5 100755
--- a/agents/plugins/mk_jolokia
+++ b/agents/plugins/mk_jolokia
@@ -180,9 +180,13 @@ specific_vars = {
],
"tomcat" : [
( "*:type=Manager,*/activeSessions,maxActiveSessions", None,
[ "path", "context" ] ),
- ( "*:type=Manager,*/stateName", None, [ "path",
"context" ] ),
-# (
"*:J2EEApplication=none,J2EEServer=none,WebModule=*,j2eeType=Servlet,name=jsp/stateName",
None, [ "path", "context" ] ),
-# (
"Catalina:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule=,name=*,stateName",
None, [ "path", "context" ] ),
+ ( "*:j2eeType=Servlet,name=default,*/stateName", None, [
"WebModule" ] ),
+ # Check not yet working
+ ( "*:j2eeType=Servlet,name=default,*/requestCount", None, [
"WebModule" ]),
+
+ # too wide location for addressing the right info
+ # ( "*:j2eeType=Servlet,*/requestCount", None, [ "WebModule" ]
),
+
],
"jboss" : [
( "*:type=Manager,*/activeSessions,maxActiveSessions", None,
[ "path", "context" ] ),