HP-UX Event ManagerAdministrator's Guide

Configuring Event Manager
Event Templates
Chapter 376
Event Templates
An event template is a centrally held description of an event. The
template is used for the following:
To register the event with the Event Manager daemon, so that the
event is posted
To hold centralized information, avoiding the need to have it
hard-coded in to an application
Event template definitions are held in template files, which are text files
stored in directories subordinate to (or linked to) the system template
directory, /usr/share/evm/templates. If you have installation-specific
or third-party event templates, load them as follows:
Step 1. Create an appropriately-named subdirectory of the local template
directory, /var/evm/adm/templates, and copy the event templates into
it.
Step 2. Enter the evmreload command, specifying the d option to signal the
Event Manager daemon to reload its internal template database.
To be recognized by Event Manager, template files require specific
ownership and permissions. For more information, see evmtemplate (4).
For more information on installing new event template files, see the
HP-UX Event Manager Programmer’s Guide.
Each time an event is posted, the Event Manager daemon looks in its
internal template database for a template event whose name matches
the posted event. It then retrieves any centralized data items held in the
template event, and combines them with the items the program supplied
when it posted the event, to yield a merged event for distribution to
subscribers.