<$variablename>
.
You can also call a script or command that returns the path and name of the log file you want to monitor. For example, type
<`command`>where
command
is the name of a script that returns the
path and name of the log file you want to monitor. The command can
also return more than one log file path separated by spaces. HP
Operations monitors each of the files using the same options and
conditions as configured for this policy. This is very useful when
you want to dynamically determine the log file path or monitor
multiple instances of a log file.
CAUTION:
You must ensure that the log file can be processed by HP
Operations. For example, log files that contain binary data cannot
be read by the policy and may cause the policy to stop responding
or even quit. If your log files do contain binary data, use
log file preprocessing to
preprocess your files.
Related Topics: