I have plenty of various Java application running, I usually enable JMX protocol to monitor them with jconsole. (Ex of application : Jenkins / Jira / SonarQube / etc …)
How can I do that with CheckMK to get the additional services in my target hosts and graph the JVM thread / memory usage / etc …?
I used this tutorial https://jolokia.org/tutorial.html couple of months ago as a refresher to setup the monitoring of IBM websphere,AMQ’s,Weblogic and other Java Apps and it still works as expected.
After you you placed the jolokia.war in your App, then you can copy the mk_jolokia.py under /usr/lib/check_mk_agent/plugins/ and depending on what you want to monitor: create a /etc/check_mk/jolokia.cfg . There should be a standard file like this which you can adjust https://github.com/tribe29/checkmk/blob/master/agents/cfg_examples/jolokia.cfg . This is also configurable via WATO and then you can bake it and roll it out.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.