About include sets
Include sets allow you to manage the results of a comparison job as follows:
- Limits the display of drifts detected to only those attributes selected in the include set.
- Allows the default comparison operator EQ (equality) to be overridden. When a baseline and target are compared by the comparison job, the default comparison operator is EQ (equality). If the target attribute value does not equal the baseline attribute value, the attribute is flagged as a drift.
- Allows the value of the target attribute to be compared against a value entered by you in the include attribute fields. By default the target attribute is compared with the baseline attribute. You can override the default by supplying a value to compare the target attribute with instead of the baseline attribute value.
Guidelines for using attributes in an include set
Be aware of the following guidelines when using attributes in an include set:
- The attribute name and operator are mandatory.
- The attribute value is optional. When used, the value must be appropriate for the selected operator.
- The operator options for include sets are: EQ, NE, GT, LT, GE, LE, IN, NOT IN.
- If the Boolean expression to evaluate two attributes returns TRUE, then no drift is detected. If the expression returns FALSE, then the comparison service flags this as a drift and the attribute is displayed in the Drift Report.
Creating an include set
This section describes how to use the Qualification Builder to create an include set.
To create an include set
- Select Authoring > Include Sets.
- When the Include Set List of Items displays, click Create.
The Qualification Builder for an include set appears.
- In the Select Class Name field, select a class name.
- Click Show to display the attributes for this class.
- Select the attributes to include in the include set, overriding the default comparison operator and attribute value as needed.
- Click Close to save the attributes.
- Click Save & Close to save the include set.
Your new include set appears in the Include Sets List of Items.
This section provides examples showing how to customize an include set.
Select Class = BMC_ComputerSystem, Attribute = memory, Operator = EQ
The default operator (EQ) is selected. The comparison service compares the memory value of the target CI to the memory value of the baseline CI. If the values are not equal, the attribute has drifted and it is displayed in a Drift Report on the Drift Console.
Overriding the default operator
Select Class= BMC_ComputerSystem, Attribute = memory, Operator = LT
The selected operator LT (less than) overrides the default operator (EQ). The comparison service compare the memory value of the target CI to the memory value of the baseline CI. If the target attribute value is not less than the baseline attribute value, the attribute is flagged as a drift.
Overriding the default operator and attribute value
Select Class= BMC_ComputerSystem, Attribute = diskcapacity, Operator = GT, Value=20
The selected operator GT (greater than) overrides the default operator (EQ). The user-supplied Value (20) overrides the baseline value, which means the comparison service uses this value instead of the baseline value. If the target attribute value is not greater than 20, the attribute is flagged as a drift.