Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Event ManagerAdministrator's Guide: HP-UX 11i v3 Edition 1 > Chapter 3 Configuring Event Manager

Event Templates

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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:

  1. Create an appropriately-named subdirectory of the local template directory, /var/evm/adm/templates, and copy the event templates into it.

  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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.