VMware Cloud Community
BC_hyperic
Enthusiast
Enthusiast

Plugin for Java Wrapper Service

Hi,

We use Hyperic to monitor some JMX servers. Recently, we added Java Wrapper Service to the JMX servers so they could be run as Windows services. Now I don’t see our metrics. The servers are autodiscovered. The JVM metrics are displayed e.g. Heap memory Max and Heap Memory Used. Our metrics are not displayed. I can see the MBean, and metrics in JConsole, but not in HQ. The plugin looks like

<plugin>
<!-- attach a new service type to the Sun JVM 1.5 server type -->
<service name="RAPID-CARLAR"
server="Sun JVM" version="1.5">

<!-- define ObjectName template used for auto-discovery and monitoring -->
<property name="OBJECT_NAME"
value="RAPIDCARLAR:name=*"/>

<!-- format the auto-discovered service names -->
<property name="AUTOINVENTORY_NAME"
value="%name% on %serverName%"/>

<!-- instance attribute values; will be auto-discovered -->
<config>
<option name="name"
description="Instance name, e.g. carlar"
default="CARLARMetrics"/>
</config>
….

How can I write a plugin for the Java Wrapper Service which will pickup our metrics.

Thanks
Bob
0 Kudos
0 Replies