6.1

Table Of Contents
Introduction to Plug-in Development 1
Plug-ins are the interface between vRealize Operations Manager and products on the network you want to
manage.
You can develop your own plug-ins to extend the functionality of vRealize Operations Manager coverage to
products or parts of products not yet covered. For information about the Endpoint Operations Management
source code and the plug-ins provided by VMware, see https://github.com/vmware/ep-ops-management.
What Plug-ins Do
Plug-in development requires an understanding of the vRealize Operations Manager inventory model and
of the management functions that plug-ins implement. Management functions can include:
Auto-Discovery
Plug-ins can implement auto-discovery of server resources, services
resources, and application resources. Custom plug-ins usually just call the
vRealize Operations Manager built-in ServerDetector class.
Monitoring
Plug-ins can implement metric collection, defining and collecting metrics and
configuring them for display in the vRealize Operations Manager user
interface. Measurement plug-ins implement monitoring.
You can use plug-ins discover, collect data from, and control resources; plug-ins cannot be used to change
alerting, reporting, or similar, server-side functionality.
This chapter includes the following topics:
n
“The Role of the Server and Agent in Plug-ins,” on page 7
n
“Technical Overview,” on page 8
n
“Plug-in Implementations,” on page 8
n
“Using Support Classes to Simplify a Plug-in,” on page 8
n
“Writing Plug-ins,” on page 9
n
“Running and Testing Plug-ins from the Command Line,” on page 25
The Role of the Server and Agent in Plug-ins
Plug-ins exist on the server and you can download them automatically to the agents.
The agent gathers all the data from resources and generally communicates with the resource. Using the
plug-in, the agent can:
n
Auto-discover resources
n
Collect resource metrics
VMware, Inc.
7