HP-UX Event ManagerAdministrator's Guide

Configuring Event Manager
Configuring Event Manager Logger
Chapter 368
/ *
If this line is not commented out (by #) and the sample path
is replaced by the path name of an existing write-enabled
directory, an alternate log file is opened in this directory
if the primary directory becomes write-disabled.
*/
# alternate /your_alternate_fs/evmlog/evmlog.dated
/* This line establishes the filtering conditions for events,
determining which events are logged by this event log. See
EvmFilter (5) for details of Event Manager filter syntax. The
@SYS_VP@ entry is a macro that is replaced with sys.unix when
the file is read.*
/
# Log all events with priority >= 200, except procSM
events:filter [prio>=200] & (![name @SYS_VP@.procsm])
/* These statements define the suppression parameters for this
event log. In this case, suppression of a particular event
begins if three or more duplicate events are received within
30 minutes. Suppression of duplicate events saves space in
the log file. See evmlogger.conf (4) for a detailed
description of event suppression
. */
# Suppress logging of duplicate events:
suppress
{ filter "[name *]"
period 30 # minutes
threshold 3 # No. of duplicates before suppression
}
}
# Forward details of high-priority events to root:
/* This line establishes conditions for forwarding events to the
root user. An event forwarder executes a specified command
string when selected events occur. It is useful for notifying
the system administrator when a significant error occurs.
*/
forward {
/* In this line, name identifies the forwarder.*/
name priority_alert
/* The maxqueue queue_limit keyword limits the number of events that
a forwarder can queue while a previous event is being handled. If the
maximum number of events is already queued when a new event arrives,
the new event is ignored by this forwarder. If not specified, this keyword
has a default value of 100 events. If you specify a value greater than
1000 events, the logger automatically limits it to 1000 events. */
maxqueue 200