Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Construct watch rule expressions

Before you begin

Create watches for a diagnostic system module

The console provides a number of controls for constructing a watch rule expression. You can build up an expression using these basic operations:

- Edit a watch rule expression directly.
- Construct a simple expression by choosing an attribute, an operator, and a value, using the visual tools.
- Group, ungroup, rearrange, remove, and negate expressions, using the visual tools.

To construct a watch rule:

1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
2. If you want to type (or paste) the watch rule expression directly, click Edit.
3. On the Settings for [watch name]: Configuration: Rule Expressions page, under Current Watch Rule, type or paste the expression. Use the syntax given in Use the Query Language to Create a Watch Expression .
4. Click Finish. If the expression is complete, click Save. If you want to continue to construct a more complex expression, go to step 5, below.
5. On the Create Watch: Config Watch Rule Expressions page, under Expressions, click Add Expressions.
6. On the Create Watch: Add Expression page, select an attribute from the Message Attribute list.
7. Select an operator from the Operator list.
8. Enter a value in the Value field. The value must be an appropriate value for the message attribute chosen above.
9. Click Finish.
10. If the expression is complete, click Save. If you want to continue to construct a more complex expression, go to step 11, below.
11. Notice that when you write or construct a simple expression under Current Watch Rule, the expression is also inserted under Expressions. When you add subsequent simple expressions, they too are inserted under Expressions. Multiple simple expressions are separated by a selection box listing available operators. You can now edit the expression, with any of the following options:
    1. To change the operator, select the appropriate operator from the list.
    2. To group two or more expressions, select the check boxes adjacent to the expressions you want to group. Click Combine.
    3. To ungroup two or more expressions, select the check boxes adjacent to the expressions you want to ungroup. Click Uncombine.
    4. To move one or more expressions up or down, select the check box(es) adjacent to the expression(s) you want to move. Click Move Up or Move Down.
    5. To delete one or more expressions, select the check box(es) adjacent to the expression(s) you want to delete. Click Remove.
    6. To negate one or more expressions, select the check box(es) adjacent to the expression(s) you want to negate. Click Negate.
12. Click Save.
13. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).