HP Operations Manager

Create a match condition from within the message browser


From within the message browser, you can create a new condition for a message or modify the condition that matches a generated message. When you select a message to create a match condition, as described below, the system creates a new condition that matches on the selected message's original event text. After you save and deploy the policy containing the new condition, the agent on the managed node generates a message when an event it receives matches the new condition.

The message generated by the event can be preconfigured to have specific properties, such as severity, instruction text, and the like. The message can also be configured to launch automatic and operator-initiated commands.

To create a match condition

  1. From within the message browser, select the message for which you want to create the match condition.
  2. Right-click to open the context menu.
  3. Select Policy Create Match Condition from the menu to open the appropriate policy editor, which displays the New Rule dialog with the Condition tab active and the generated default displayed. Accept the defaults.
  4. To modify the default, select the Actions tab and provide a description of the rule and specify its conditions.
  5. Click OK. Your new rule will appear on the Rules tab of the policy editor dialog box. Incoming messages matching the criteria in this rule will appear in the message browser. The Actions tab default setting for match conditions is Send Message....
  6. To modify the actions associated with this message, double-click the rules description on the Rules tab to open the Rule dialog.

    Select the Actions tab, then select the location where the message should be sent and indicate any associated automatic or operator-initiated actions.

  7. Click OK to confirm your changes and close the dialog box.
Note NOTE:
Not all policy types offer the Create Match Condition menu option because they do not have condition IDs. Scheduled policy type is an example. For these policy types, the Policy Edit Policy menu option opens the appropriate policy editor to the specific policy that generated the message.

Details on configuring messages and adding automatic and operator-initiated commands to messages can be found in help in this path:

Administering your Environment Event Policy Editors Configure Rules Configure Actions.