8
Event Handling

8.1 Introduction

RMS includes a general mechanism for posting, waitingon 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
Forexample, 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