VMware Cloud Community
Brandon_Richins
Contributor
Contributor

Monitor remote JMX without or processes

I'm trying to monitor JMX values on a remote machine where I cannot install the Hyperic Agent. I would like one platform to monitor the JMX values on another similarly to the way the HTTP service monitor functions. I can access the values through JConsole and have successfully polled them using the "jmx MBeanDumper" from the JMX Plugin documentation. When I look at the Tomcat, Terracotta, ActiveMQ and other JMX plugins it looks like it's using the SIGAR Hyperic agent to verify a processes existence independently of JMX. Is there any examples of connecting to pure RMI based JMX?

I have tried to use the tomcat-webapp-cache plugin for a starting point. Neither of the commands below return any metrics. Any ideas?

D:\Downloads\Hyperic\hyperic-hq-agent-4.0.2\bundles\agent-4.0.2-939>java -jar pdk\lib\hq-product.jar -Dplugins.include=tomcat-webapp-cache -Djmx.url=service:jmx:rmi:///jndi/rmi://myremotehost:7778/jmxrmi -m metric

and

D:\Downloads\Hyperic\hyperic-hq-agent-4.0.2\bundles\agent-4.0.2-939>java -jar pdk\lib\hq-product.jar -Dplugins.include=tomcat-webapp-cache -Djmx.url=service:jmx:rmi:///jndi/rmi://myremotehost:7778/jmxrmi -m discover -a metric

Thanks,

Brandon
Reply
0 Kudos
2 Replies
excowboy
Virtuoso
Virtuoso

Hi Brandon,

i think the plugin you are looking for is "SUN JVM 1.5"


hth,
Mirko
Reply
0 Kudos
excowboy
Virtuoso
Virtuoso

Brandon,

did you try to use the SUN JVM 1.5 plugin for your remote JMX monitoring ?

Mirko
Reply
0 Kudos