Writing Monitors for the Event Monitoring Service (December 1999)

60 Chapter3
Creating a Resource Monitor
Implementing a Resource Monitor
Implementing a Resource Monitor
Follow these steps to write and install a resource monitor in the EMS:
Step 1. Write the monitor.
The rest of this chapter explains how to write a monitor using the EMS
API. The EMS API functions are explained in the chapter, “The EMS
Application Programming Interface (API).
Step 2. Add the monitor to the resource dictionary.
The resource dictionary files are ASCII files that you can edit with any
text editor. The syntax of the resource dictionary files is explained in the
chapter, “Understanding the Event Monitoring Service.
Step 3. Use the montest tool to test the configuration and operation of your
resource monitor.
The montest tool is explained in the chapter, “Testing a Resource
Monitor with montest.
Step 4. Configure an EMS client application to send monitor requests to the
Registrar.
Examples of EMS client applications are MC/ServiceGuard and the SAM
interface to EMS (the EMS framework product).
The manual Using the Event Monitoring Service (HP Part Number
B7612-90015) provides instructions for:
configuring the client application through the SAM interface to EMS.
creating ServiceGuard packages that depend on EMS resources.