HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

e
evmlogger(1M) evmlogger(1M)
If a forward command is specified, the logger executes the command when any incoming event matches
the forwarding filter. The logger then pipes the incoming event into the command’s
stdin stream.
The logger executes forwarding commands asynchronously and continues to handle events while commands
are running. However, to ensure proper sequencing, the logger allows only one instance of each command
to run at a time. If a command is running and another event arrives that matches the forwarder’s filter,
the event is queued until the command terminates. At which time the logger reruns it with the next
queued event. The size of each forwarder’s queue is limited and is controlled using the
maxqueue key-
word. To minimize the chances of queuing or missing events, avoid using the forwarding facility to run
commands that may take significant time to execute. See evmlogger.conf(4) for more information on set-
ting the queue limit.
By default, only events posted through the local EVM daemon are handled by the logger’s event logs and
forwarders.
If an incoming event matches the suppression filter associated with an event log or forwarder, the event is
considered for suppression. For an event log, suppressing an event reduces the risk of wasting file storage
space by logging repeated instances of the same event. For a forwarder, suppressing an event reduces the
risk of sending replicated mail messages reporting the same event over a short period. For a full discussion
of the configuration values which control suppression see evmlogger.conf(4).
RETURN VALUES
The following exit values are returned:
0 Successful completion.
not 0 An error occurred.
FILES
/etc/evmlogger.conf
Default logger configuration file
/var/evm/adm/logfiles/evmlogger.log
Error log
/var/run/evmlogger.info
Run information file
SEE ALSO
Commands
kill(1), evmchmgr(1M), evmd(1M), evmget(1), evmreload(1M), evmshow(1), evmstart(1M), evmstop(1M).
Files
evmdaemon.conf(4), evmlogger.conf(4).
Event Management
EVM(5).
EVM Events
EvmEvent(5).
Event Filter
EvmFilter(5).
198 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007