Module: check_mk
Branch: master
Commit: 75ce21be424ec9b56d6c04ec5d5f0acd852bbb84
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=75ce21be424ec9…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Sep 14 17:28:24 2012 +0200
mk_jolokia now gets server status for tomcat apps
---
agents/plugins/mk_jolokia | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/agents/plugins/mk_jolokia b/agents/plugins/mk_jolokia
index bc83dc4..8a2ac77 100755
--- a/agents/plugins/mk_jolokia
+++ b/agents/plugins/mk_jolokia
@@ -166,6 +166,7 @@ global_vars = [
( "java.lang:type=Runtime/Uptime", "Uptime",
[] ),
]
+
specific_vars = {
"weblogic" : [
( "*:*/CompletedRequestCount", None,
[ "ServerRuntime" ] ),
@@ -179,6 +180,9 @@ 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" ] ),
],
"jboss" : [
( "*:type=Manager,*/activeSessions,maxActiveSessions", None,
[ "path", "context" ] ),