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
getMeasurementConfig
getMeasurementConfig():ConfigResponse
public ConfigResponse getMeasurementConfig()
This method returns the monitoring configuration properties for the
resource.
setControlConfig
setControlConfig(ConfigResponse):void
public void setControlConfig(ConfigResponse config)
This method sets the control configuration properties for the resource. The
configuration is passed as a ConfigResponse object.
Parameter Description
config
The resource control configuration.
setControlConfig(Map):void
public void setControlConfig(Map config)
This function sets the control configuration properties for the resource. The
configuration is passed as a Map object. Internally, ConfigResponse uses Map
to store its keys and values.
Parameter Description
config
The map of the resource control configuration.
setControlConfig():void
public void setControlConfig()
This function sets and initializes an empty control configuration.
getControlConfig
getControlConfig():ConfigResponse
public ConfigResponse getControlConfig()
This function returns the resource control configuration.
setCustomProperties
setCustomProperties(ConfigResponse):void
public void setCustomProperties(ConfigResponse config)
This method sets custom properties for the resource. These are the resource
attributes that are defined using the <property> elements in the plug-in
descriptor. The configuration is passed as a ConfigResponse object.
Parameter Description
config
The resource custom properties.
setCustomProperties(Map):void
public void setCustomProperties(Map props
This function sets custom properties for the resource. These are the resource
attributes that are defined using the <property> elements in the plug-in
descriptor. The properties are passed using Map object. Internally,
ConfigResponse uses Map to store its keys and values.
Chapter 4 Plug-In Support Classes
VMware, Inc. 71