Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
vCenter
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Remote JMX monitoring
Brandon_Richins
Jan 13, 2009 10:41 PM
I am trying to remotely monitor some JMX enabled applications. I have read the JMX documentation and ...
excowboy
Jan 14, 2009 12:25 AM
Hi Brandon, a snippet from documentation: This screen allows users to initiate an auto-discovery ...
Brandon_Richins
Jan 14, 2009 04:31 PM
Unfortunately I cannot install the agent on the platform because it is HP NonStop and doesn't seem ...
excowboy
Jan 14, 2009 07:53 PM
Hi Brandon, >I was hoping that the custom JMX monitoring might be setup similarly to the HTTP ...
BC_hyperic
Jan 14, 2009 12:28 AM
Maybe http://communities.vmware.com/thread/346281 can help.
1.
Remote JMX monitoring
0
Recommend
Brandon_Richins
Posted Jan 13, 2009 10:41 PM
Reply
Reply Privately
Options Dropdown
I am trying to remotely monitor some JMX enabled applications. I have read the JMX documentation and tried the below custom plugin XML. When I run the command line tool to discover the services,
java -jar lib/hq-product.jar -Djmx.sun.discover=true -Dplugins.include=jmx,whatever -m discover -a metric -Dlog=debug
, it works fine on the local machine where the JVM is running, but
it fails from a remote machine
. What am I missing?
<plugin>
<classpath>
<include name="pdk/lib/mx4j"/>
</classpath>
<service name="Beginners JMX" server="Sun JVM" version="1.5">
<property name="OBJECT_NAME" value="java.lang:type=OperatingSystem"/>
<plugin type="autoinventory" />
<plugin type="measurement" class="org.hyperic.hq.product.jmx.MxMeasurementPlugin"/>
<config name="jmx" type="global">
<option name="jmx.url" description="JMX URL to MBeanServer" default="service:jmx:rmi:///jndi/rmi://ecis197.eng.med.ge.com:8888/jmxrmi"/>
<option name="jmx.username" description="JMX username" optional="true" default=""/>
<option name="jmx.password" description="JMX password" optional="true" default="" type="secret"/>
</config>
<filter name="template" value="${OBJECT_NAME}:${alias}"/>
<metric name="Availability" template="${OBJECT_NAME}:Availability" indicator="true"/>
<metric name="Num Procs" alias="AvailableProcessors" collectionType="trendsup" indicator="true"/>
<metric name="Open FD Count" alias="OpenFileDescriptorCount" collectionType="trendsup" indicator="true"/>
<metric name="LoadAverage" alias="SystemLoadAverage"/>
</service>
</plugin>
2.
RE: Remote JMX monitoring
1
Recommend
excowboy
Posted Jan 14, 2009 12:25 AM
Reply
Reply Privately
Options Dropdown
Hi Brandon,
a snippet from documentation:
This screen allows users to initiate an auto-discovery scan — either an Auto Scan or a File Scan — on a platform. In order to scan a platform, an Agent must be installed on the platform. (An exception is network devices and network hosts, which can be scanned but do not have Agents on them. In those cases, the connection is proxied through a machine with an Agent running on it.)
http://support.hyperic.com/display/DOC/ui-Inventory.AutoDiscovery
According to the documentation you can not autodiscover a remote JMX service.
So you can either install the Agent on every host you'd like monitor or you may deploy your plugin manually multiple times as a platform server.
hth,
Mirko
3.
RE: Remote JMX monitoring
0
Recommend
Brandon_Richins
Posted Jan 14, 2009 04:31 PM
Reply
Reply Privately
Options Dropdown
Unfortunately I cannot install the agent on the platform because it is HP NonStop and doesn't seem to be supported yet. You mentioned that I could deploy the plug-in manually multiple times as a platform server. Can that still be done with the JMX XML based plug-in? Could you point me to any examples? I've looked in the JMX section but I'm just not seeing it. I'm also guessing that I may not be able to test it with the same command line client.
I think I can get around the auto-discovery problem with the Groovy console in HQ to simplify the configuration and setup. I was hoping that the custom JMX monitoring might be setup similarly to the HTTP Slashdot demonstration in the online tutorial.
4.
RE: Remote JMX monitoring
0
Recommend
excowboy
Posted Jan 14, 2009 07:53 PM
Reply
Reply Privately
Options Dropdown
Hi Brandon,
>I was hoping that the custom JMX monitoring might be setup similarly to the HTTP Slashdot >demonstration in the online tutorial.
Yes, that was my idea too. If you deploy your plugin on HQ Server and on an Agent the plugin should be available in the list of "New Server". If you create a HTTP service you choose "New Service" in this case you choose "New Server".
Before you deploy your custom JMX plugin, you could try to create a simple JMX Server.
For details please read the following page:
http://support.hyperic.com/display/hypcomm/Sun+JVM
hth,
Mirko
5.
RE: Remote JMX monitoring
0
Recommend
BC_hyperic
Posted Jan 14, 2009 12:28 AM
Reply
Reply Privately
Options Dropdown
Maybe
http://communities.vmware.com/thread/346281
can help.
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic