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
SNMPMeasurementPlugin Class on page 66
Use the SNMPMeasurementPlugin class to collect metrics from SNMP devices.
n
Win32MeasurementPlugin Class on page 66
Use the Win32MeasurementPlugin class to collect metrics from Windows service objects.
MeasurementPlugin Class
The MeasurementPlugin class is a base implementation for measurement operations.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.MeasurementPlugin
Implementing Methods
This class implements the following methods.
init
init(PluginManager):void
public void init(PluginManager manager)
Table 4‑1.
Parameter Description
manager
The plug-in manager.
getManager
getManager():MeasurementPluginManager
protected MeasurementPluginManager getManager()
getMeasurementPropertie
s
getMeasurementProperties():Map
protected Map getMeasurementProperties()
getMeasurements
getMeasurements(TypeInfo):MeasurementInfo[]
public MeasurementInfo getMeasurements(TypeInfo info)
getPlatformHelpProperti
es
getPlatformHelpProperties():String[][]
protected String getPlatformHelpProperties()
getPluginXMLHelp
getPluginXMLHelp(TypeInfo, String, Map):String
protected String getPluginXMLHelp(TypeInfo info, String name, Map
props)
getHelp
getHelp(TypeInfo, Map):String
public String getHelp(TypeInfo info, Map props)
getValue
getValue(Metric):MetricValue
public MetricValue getValue(Metric metric)
getNewCollector
getNewCollector():Collector
public Collector getNewCollector()
getCollectorProperties
getCollectorProperties(Metric):Properties
public Properties getCollectorProperties(Metric metric)
Chapter 4 Plug-In Support Classes
VMware, Inc. 65