HP Operations Manager for Windows

Set log file rule conditions


This tab lets you specify a string that the policy searches for in the log file that the policy monitors. If the policy finds a match, the actions associated with this rule are carried out.

In the Log file line box, type in the pattern that you want the policy to compare with the source that it is evaluating. When this pattern is matched, the actions are carried out.

If you only want to match the log file from a specific node, type the FQDN, the primary node name, or the IP address in the Node box. Give multiple entries with the OR operator (for example, celery.veg.com|broccoli.veg.com) or leave the field blank for all nodes. You can also use the variable <$OPC_MGMTSV>.

You can use message text pattern conventions to specify the matching pattern. For more information about pattern matching, see Pattern-matching and variables

Parts of the matched string can be built into the message displayed in the message browser by defining variables. For more information about variables see, Variables and parameters. You can use the Launch Log file button to browse to a log file and then open it to inspect or copy values.

To set log file rule conditions

  1. Right-click the policy and select All Tasksarrow Edit...
  2. Select Rules.
  3. Select the rule for which you want to modify the conditions.
  4. Select Modify.
  5. Select Conditions and type the conditions for this rule.

Related Topics: