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
Parameter Description
config
The resource custom properties.
getCustomProperties
getCustomProperties():ConfigResponse
public ConfigResponse getCustomProperties()
This method returns custom properties for the resource. These are the
resource attributes that are defined using the <property> elements in the
plug-in descriptor.
ServiceResource Class
The ServiceResource class is used to store information for newly discovered services during the
autodiscovery methods. This class contains everything that is included in a runtime autoinventory report.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.ServiceResource
Implementing Methods
This class implements the following method.
setName
setName(String):void
public void setName(String name)
This method sets the resource name.
Parameter Description
name
The name of the resource.
ConfigResponse Class
The ConfigResponse class is used throughout Endpoint Operations Management source code to store and
transfer configuration data. From an end user perspective this class acts as a key/value storage. Usually you
use this class to add configuration properties to new resources created during auto discovery methods.
Class Hierarchy
java.lang.Object
org.hyperic.util.config.ConfigResponse
Implementing Methods
This class implements the following methods.
setValue
setValue(String, String):void
public void setValue(String key, String value)
throws InvalidOptionException, InvalidOptionValueException;
Set the value for an option.
Endpoint Operations Management Agent Plug-in Development Kit
72 VMware, Inc.