6.1

Table Of Contents
discoverServices(Confi
gResponse):List
protected List discoverServices(ConfigResponse config)
This runtime method discovers new services. Override this method to
discover service objects for the server object of the plug-in instance.
This method returns NULL if not overwritten.
Parameters: Parent configuration
Returns:
A list of ServerResource objects.
createServerResource(S
tring):ServerResource
protected ServerResource createServerResource(String installpath)
This is a helper method to initialize a ServerResource with default values.
Parameters: installpath The object installation path.
SNMPDectector Class
You can use the SNMPDetector class in XML-only plug-ins that extend the Network Device plug-in, or
SNMP-enabled servers, such as Squid.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.GenericPlugin
[org.hyperic.hq.product.ServerDetector|ServerDetector]
org.hyperic.hq.product.DaemonDetector
org.hyperic.hq.product.SNMPDetector
Resource Properties
This table describes the resource data that you can define in the plug-in descriptor for a plug-in that uses
SNMPDetector.
Property Usage
SNMP_INDEX_NAME
foo
SNMP_DESCRIPTION
foo
Example: Usage
<plugin>
<plugin type="autoinventory"
class="org.hyperic.hq.product.SNMPDetector"/>
...
</plugin>
Measurement Support Classes
There are a number of Endpoint Operations Management measurement support classes for use when
writing your plug-ins.
Use the following classes, as required.
n
MeasurementPlugin Class on page 65
The MeasurementPlugin class is a base implementation for measurement operations.
Endpoint Operations Management Agent Plug-in Development Kit
64 VMware, Inc.