start/stop Jolokia Spring agent

classic Classic list List threaded Threaded
1 message Options
Dragos Dragos
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

start/stop Jolokia Spring agent

Posted on Stack overflow initially( http://stackoverflow.com/questions/40172171/configuring-jolokia-spring-agent ) but I saw this forum mentioned and tought I have a higher chance of success here.

We want to monitor jvm metrics of our tomcat instances. We think jolokia is a good solution since there is a nice Nagios (checkMK) plugin for it. I was wondering, if we use the spring agent option, specifying the dependency in our pom.

From what I understand this will launch the agent when the application starts. Is it possible to specify in any tomcat properties file if we want the agent to start or not ? Because otherwise if for some reason we want to stop the agent there is no other way but to redeploy the app right ?
Loading...