EMS FastStart Manual

Brief Review of Event Design
EMS FastStart Manual133701
2-10
Step 6: Assign Event Numbers
An event message template is the design of the fixed text and variable data for one event.
All of the event messages produced by the numbered event type will differ only in the
contents of the variable data fields.
There are several reasons to assign unique event numbers:
An event can have a probable cause and a recommended action database within
Viewpoint. This database is keyed into by a subsystem ID and an event number. A
unique event number should be assigned when the causes and corrective actions are
not the same. In our example, the cause of Event 202 is hardware failure and the
cause of Event 201 is a security breach. Each of these events has a different
recommended action to fix the problem. Therefore, each event has a unique event
number.
The DSM template facility, which formats the event messages for display, uses a key
comprised of the subsystem ID and event number. When it is desirable to format the
fixed and variable portions of the event buffer differently, unique subsystem IDs are
required.
Unique event numbers enable you to write programs to watch for certain events and
automatically react to them. You can use the same subsystem ID and event number
for events that differ only in their variable data values.
Six of the twelve messages in our example have identical fixed text and variable data
fields (underlined text). Shown below are six unique event numbers assigned to those six
messages:
EVENT 1 ATM-EVT-UP
ATM SFMAIN01
is up at 245 A St. San Francisco.
ATM SFMAIN02
is up at 245 A St. San Francisco.
EVENT 2 ATM-EVT-ACCT-INSUF-FUNDS
Insufficient funds in account 23457320
. Access denied on ATM
OAKWEST1 at 245 Oak St. Oakland.
Insufficient funds in account 23409344
. Access denied on ATM
SACTO99 at 341 Main St. Sacramento.
EVENT 100 ATM-EVT-LOW-ON-CASH
ATM SFMAIN02
at 245 A St. San Francisco is low on funds.
ATM SFMAIN01
at 245 A St. San Francisco is low on funds.
EVENT 200 ATM-EVT-DOWN
ATM LACENT99
is down at 320 Main St. Los Angeles.
ATM LACENT91
is down at 320 Main St. Los Angeles.
EVENT 201 ATM-EVT-SECURITY-BREACH
Security breach on account 23457320
. Number of accesses attempted
3; ATM SACTO02 is down at 230 State St. Sacramento.