HP Operations Manager for Windows

Select the logfile to monitor


This feature allows you to indicate the log file that the policy reads. Type the drive letter and the full path for the location of this log file on the appropriate managed node. You can use Windows environmental variables (for example winnt or clusterlog) to make your policies more flexible. The proper syntax for these variables is <$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 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.

To select the logfile to monitor

  1. Right-click the policy and select All Tasks Edit...
  2. Select Source.
  3. In the Log file path \ name box, type the name of the log file you want to monitor.

Related Topics: