VMware Cloud Community
guillaumef
Contributor
Contributor

JVM Autodiscovery

Hi,

I enabled the JVM autodiscovery in the agent.properties file (jmx.sun.discover=true) but it is not working properly : some JVMs are auto-discovered others aren't...

I can add the JVM servers manually and everything works fine but I really need Hyperic to be able to auto-discover every JVMs.

Any well done documentation on the topic ? Thanks
0 Kudos
4 Replies
mcmesser
Hot Shot
Hot Shot

Are all JVMs configured for remote monitoring?

http://support.hyperic.com/display/DOC/JMX+Plugin#JMXPlugin-remote
0 Kudos
guillaumef
Contributor
Contributor

Yeah & I can monitor all of them with the JConsole
0 Kudos
excowboy
Virtuoso
Virtuoso

Hi,

is there any pattern in which JVMs are being autodiscovered and which not ?

Did you try to run the autodiscovery on the commandline e.g.

java -jar bundle-xyz/pdk/lib hq-product.jar -m discover -Djmx.sun.discover=true Dlog=debug

Cheers,
Mirko
guillaumef
Contributor
Contributor

Thanks guys, I found the problem.

I was using jmx.rmi.port and not com.sun.management.jmxremote.port in some launchers.
0 Kudos