6.1

Table Of Contents
Using Auto-Discovery Support
Classes in Plug-ins 2
You can use the vRealize Operations Manager auto-discovery functionality in a custom plug-in. As most
platform types are discovered by the system plug-in, custom plug-ins discover server and service resource
types.
Auto-Discovery Implementation
The auto-discovery class performs the discovery process. For many resource types, you can reference one of
the vRealize Operations Manager built-in auto-discovery classes. If necessary, you can write a custom auto-
discovery class that extends a vRealize Operations Manager auto-discovery class. Most of the
vRealize Operations Manager auto-discovery implementations discover two levels of resources - servers,
and the services that run in them, so typically you only specify a single implementation in the descriptor.
Parameters Required by the Implementation
In addition to specifying the auto-discovery class, the plug-in descriptor must define the parameters that the
class requires.
This chapter includes the following topics:
n
“Auto-Discovery Classes,” on page 39
n
“Auto-Discovery Interfaces,” on page 40
n
“Specifying Auto-Discovery Implementation for a Resource Type,” on page 41
n
“Measurement Plug-ins,” on page 41
Auto-Discovery Classes
Auto-discovery rules for a resource type are defined in the XML descriptor of the plug-in that manages the
type.
Auto-Discovery Class Hierarchy
VMware vRealize Operations Manager auto-discovery class is as follows.
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.ServerDetector
org.hyperic.hq.product.PlatformServiceDetector
org.hyperic.hq.product.DaemonDetector
org.hyperic.hq.product.MxServerDetector
org.hyperic.hq.product.SunMxServerDetector
org.hyperic.hq.product.SNMPDetector
VMware, Inc.
39