6.1
Table Of Contents
- Endpoint Operations Management Agent Plug-in Development Kit
- Contents
- About the Endpoint Operations Management Agent Plug-in Development Kit
- Introduction to Plug-in Development
- The Role of the Server and Agent in Plug-ins
- Technical Overview
- Plug-in Implementations
- Using Support Classes to Simplify a Plug-in
- Writing Plug-ins
- JMX Plug-in
- Script Plug-ins
- SNMP Plug-in
- JMX-Based Management
- Auto-Discovery of JMX Resources
- Configuration Properties for JMX Monitoring
- Creating a Custom JMX Plug-in
- Defining Service Types to Provide Management via Custom MBeans
- Defining an ObjectName to Access Custom MBeans
- Defining Configuration Properties to Appear in the User Interface
- Defining and Gathering Metrics
- Specifying the Availability Metric for MBeans
- Implementing Control Actions
- Defining the Server Auto-Inventory Element
- Discovering Custom Properties
- Running and Testing Plug-ins from the Command Line
- Using Auto-Discovery Support Classes in Plug-ins
- Working with Plug-in Descriptors
- Plug-In Support Classes
- Index
n
Sigar
n
...
org.hyperic.hq.product.
JDBCMeasurementPlugin
Obtains database server and database metrics using JDBC. Measurement
classes in Hyperic plug-ins that monitor database servers extend this class.
Such plug-ins include:
n
Mysql
n
PostgreSQL
n
Oracle
n
Sybase
org.hyperic.hq.product.
jmx.MxMeasurementPlugin
Obtains MBean attribute values. Measurement classes in Hyperic plug-ins
that monitor application servers extend this class. Plug-ins include:
n
JBoss
n
WebLogic
n
WebSphere
n
Tomcat
n
Resin
org.hyperic.hq.product.
SigarMeasurementPlugin
Uses SIGAR API to obtain system and process data. The
vRealize Operations Manager system plug-in uses this class to monitor
system and process information for operating system platform types such as
Linux, Win32, and so on.
org.hyperic.hq.product.
SNMPMeasurementPlugin
Obtains metrics from SNMP-enabled resources. Measurement classes in
vRealize Operations Manager plug-ins that use this class include Apache.
org.hyperic.hq.product.
Win32MeasurementPlugin
Collects Windows Perflib data.
Specifying the Measurement Plug-in in the Plug-in Descriptor
You identify the measurement class for a resource type in the plug-in descriptor, in a <plugin> element in
the resource element that defines the resource type.
The resource element could be a <platform>, <server>, or <service> element. For example, a plug-in that
uses org.hyperic.hq.product.MeasurementPlugin to collect metrics for a server type resource includes a
<plugin> element like the one in the following code snippet.
<server...
...
<plugin type="measurement" class="org.hyperic.hq.product.MeasurementPlugin"/>
...
</server>
Defining Measurements Using the metric Tag
A measurement plug-in collects metrics. In the plug-in descriptor, you define a <metric> element for each
metric to be collected for an object type.
You must always collect the availability metric.
The availability metric indicates whether an object is up or down.
Endpoint Operations Management Agent Plug-in Development Kit
42 VMware, Inc.