I would think this is easy, but I don’t see how to do it. Everything I have tried is NOT autodiscovered.
We have plugins for JMX servers and a plugin for SQL queries. I have not written is simple plugin to monitor a JVM. I just need to monitor if the process is available and the process must be autodiscovered.
The processed is not picked up as JMX because the agent detector looks for the string ‘-Dcom.sun.management.jmxremote.’ The startup params do not contain of any of the JMX parameters, but the process does register an MBean, with an objectname of “JMImplementation:type=MBeanServerDelegate.”
I can connect to our server using JConsole.
The agent properties file has jmx.sun.discover=true
Can someone please help, maybe point me to an example?
Thanks
Bob