Step 2. Specifying variables as additional selection criteria
Related topic
The second panel displayed is the Variable Dependencies --event type panel.
The Variable Dependencies panel is the same for all event types, but the event type field shows the name of event you specified in the Event Type field on the Rule Processor Detail Control panel.
Use the Variable Dependencies panel to define the value of variables to be tested as part of the selection criteria for an event. You can specify the following kinds of variables on this panel for the Rule to use as selection criteria before it fires:
- Any BMC AMI Ops Automation-supplied EVENT variables that are listed in Variables-for-ALRT-initiated-Rules.
- Any SHARED or LOCAL variable.
Refer to the section describing variables in the Using-advanced-automation-with-BMC-AMI-Ops-Automation for information regarding SHARED and LOCAL variables. Refer to Variables-in-the-Rule-Processor for more information about using variables in the Rule Processor applications.
- The variable WORDn, where n is the number of the word in the message. For example, WORD3 represents the third word in the message text.
The following figure shows an example of the Variable Dependencies panel.
COMMAND ===> TGT ------ AOAO
Rule-set === AAORULXX Rule-id === ICH70001
OR/
Variable-name Op Variable-Value AND
QSMFID__________________________ EQ SYSB_______________________________ OR_
QSMFID__________________________ EQ SYSC_______________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________
--> ATTENTION: Use ASV command to add ASV criteria to the rule <--
Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes
In the preceding figure, the QSMFID variable is specified to equal the value SYSB or SYSC, which means that if you use the variable QSMFID on the Selection Criteria panel for an event, the Rule will fire only when the value of QSMFID matches SYSB or SYSC.
In addition, when you enter numeric values to be compared on the Variable Dependencies panel, the Rule Processor compares only whole numbers (0-9 digits). For example, the value 1.11 is considered text. When comparing numerics, the values are restricted to 15 digits.
This section contains the following topic: