How to "snmpwalk" a tomcat with activated JMX to monitor it

I have an application that runs within a tomcat (a handful of java servlets) on linux. Now I am tasked to monitor the ressources (such as CPU, memory usage, etc.) within this tomcat (not the single servlets).

I am not a programmer (so I cannot change code) and I am not allowed to change anything within the code. I am also not very familiar with Java (so my apologies if I throw a few things together).

The only thing I can do is start tomcat with java-parameters that activate jmx. So I can remotly check tomcat and the application/servlets running within from remote using JMX.

Question: What tools (or possibilities) are available to find out what kind of monitoring/ressource information the tomcat (or application with the mbeans) is offering?

I am thinking along the lines of a snmpwalk which would allow me to discover the information provided by snmp. However, I have no idea how to do this with java and jmx (found tons of articles on the internet on how to program it, but that is out of the question).

Thank you very much for your help


You are better off looking at an APM tool to fit this use case. I work for AppDynamics and we do just this. The other common tools are Dynatrace and New Relic. These tools will attach to a Java application at runtime and provide deep monitoring, visibility, transaction tracing, and troubleshooting capabilities. AppDynamics also automatically baselines all of the metrics and alerts you when things start having issues.

链接地址: http://www.djcxy.com/p/59720.html

上一篇: 通过iframe,php传递会话变量

下一篇: 如何通过激活的JMX“snmpwalk”一个tomcat来监视它