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
translate
translate(String, ConfigResponse):String
public String translate(String template, ConfigResponse config)
getConfigSchema
getConfigSchema(TypeInfo, ConfigResponse):ConfigSchema
public ConfigSchema getConfigSchema(TypeInfo info, ConfigResponse
config)
SNMPMeasurementPlugin Class
Use the SNMPMeasurementPlugin class to collect metrics from SNMP devices.
Property Usage
Property Usage
MIBS
Specifies the MIB files that are necessary to run the plug-in.
Example: Usage
<plugin>
<property name="MIBS"
value="/etc/squid/mib.txt"/>
...
<plugin type="measurement"
class="org.hyperic.hq.product.SNMPMeasurementPlugin"/>
...
</plugin>
Win32MeasurementPlugin Class
Use the Win32MeasurementPlugin class to collect metrics from Windows service objects.
Example: Usage
<plugin>
<filter name="store" value="win32:Object=MSExchangeIS"/>
...
<plugin type="measurement"
class="org.hyperic.hq.product.Win32MeasurementPlugin"/>
...
</plugin>
ProductPlugin Class
The ProductPlugin class provides the deployment entry point on both the vRealize Operations Manager
server and Endpoint Operations Management agent. It defines the object types and the plug-in
implementations for measurement, control, and autoinventory.
Most ProductPlugin classes are implemented using the plug-in XML descriptor. However, in order to
dynamically generate the classpath, plug-ins can override ProductPlugin. For example, the JBoss plug-in
uses SIGAR to find the installation path of a JBoss server running on the machine, which it uses to set the
classpath.
Endpoint Operations Management Agent Plug-in Development Kit
66 VMware, Inc.