 |
Index for Section 8 |
|
 |
Alphabetical listing for E |
|
 |
Bottom of page |
|
evmreload(8)
NAME
evmreload - Reload Event Manager configuration files
SYNOPSIS
/usr/sbin/evmreload [-d] [-a] [-c] [-l] [-n]
OPTIONS
-c Reconfigures the EVM channel manager.
-d Reconfigures the EVM daemon.
-l Reconfigures the EVM logger.
-n Syntax checks the event template files and reports errors, but does not
make any changes effective.
-a If a daemon reconfiguration is requested, the reconfiguration request
will be sent even if there are errors in any template file. If errors
exist, there is no guarantee that the new configuration will be
accepted.
OPERANDS
None
DESCRIPTION
The evmreload command posts control events that instruct EVM resident
components to reload their configuration files. It should be run to cause
EVM to begin using the new configuration any time a configuration file has
been changed.
If no options are specified, the daemon, the channel manager, and the
logger all reload their configurations.
The daemon should be reconfigured any time its configuration file or event
template database has changed. The logger should be reconfigured anytime
its configuration has changed. The channel manager should be reconfigured
anytime its configuration has changed.
Resident EVM components also reload their configuration files on receipt of
a SIGHUP signal.
If an activity monitor is specified in the EVM daemon configuration file,
all counts and timers associated with the monitor are reset.
NOTES
The evmreload command uses the evminfo -verify command to check for errors
in configuration files before sending a reload request to EVM. If errors
are found, they are reported to stderr and no reconfiguration request is
sent. This check does not find all possible errors, however, so you should
take care to check for errors reported by the EVM components themselves. To
do this, run the following command:
evmget -A -f '[name *.evm] & [age < 5m]' -t '@timestamp @@'
RESTRICTIONS
You must be user root to run this command.
EXAMPLES
1. The following command will cause the EVM daemon to reconfigure itself:
/usr/sbin/evmreload -d
2. The following command will cause the EVM logger to reconfigure itself:
/usr/sbin/evmreload -l
3. The following command will cause the EVM channel manager to
reconfigure itself:
/usr/sbin/evmreload -c
4. To syntax check the daemon configuration file without any
reconfiguration actually occurring, enter the following command:
/usr/sbin/evmreload -n
5. To reconfigure both the EVM daemon and the EVM logger, enter the
following command:
/usr/sbin/evmreload -d -l
6. To reconfigure the EVM daemon, the EVM logger, and the EVM channel
manager, enter the following command:
/usr/sbin/evmreload
7. The following command will reconfigure the EVM daemon, the EVM logger,
and the EVM channel manager even if there are errors in the template
file.
/usr/sbin/evmreload -a
EXIT STATUS
The following exit values are returned:
0 Successful completion.
not 0
An error occurred.
FILES
/usr/sbin/evmreload
Executable file
SEE ALSO
Commands: evmchmgr(8), evmd(8), evminfo(1), evmlogger(8), evmpost(1)
Files: evmchannel.conf(4), evmdaemon.conf(4), evmlogger.conf(4)
Event Management: EVM(5)
EVM Events: EvmEvent(5)
 |
Index for Section 8 |
|
 |
Alphabetical listing for E |
|
 |
Top of page |
|