Compaq SC RMS Server User Manual


 
8
Event Handling
8.1 Introduction
RMS includes a general mechanism for posting, waiting on and handling events. This
functionality is provided by the Event Manager, eventmgr (see Section 4.7).
Events are specified by RMS class, name, type and description.
class The class of object generating the event
name The instance of the object
type The event type
description A text description of the event
Generally, the description is either a single word that an event handler script can act on
or a full description of some problem.
Events have a string representation as follows:
class:name:type:description
For example, the following event signifies that the new status of the node atlas0 is
running.
node:atlas0:status:running
The Event Manager writes events to the events table in the RMS database. The
following query prints the contents of the events table in time order:
Event Handling 8-1