Step 2. Specifying variables as additional selection criteria
- 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.
BMC Software -------- Variable Dependencies - MSG ------- BMC AMI OpsA
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
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:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*