| To define member conditions, perform the following steps: Define the first condition, which is the default condition that is displayed when the dialog box opens: - If you are defining a smart group for servers, devices, jobs, or depot objects, use the first box at left (just after the word Any) to select a type of object.
For example, when defining a depot group, you can select NSH Script. Choosing Depot Object means that you want the smart depot group to include any type of depot object. Choosing Job means that you want the smart job group to include any type of job. For other types of smart groups (for components or component templates), this box does not appear. - In the next box to the right, select the name of a property for the type of object that you are collecting in a smart group, such as DATE_CREATED. For example, you can select a server property or a component template property.
In the next box to the right, select a comparison-operator, such as equals, contains, or starts with. Important SQL Server does not support case-sensitive operators. Therefore, the operators containing (case sensitive) (for example, contains (case sensitive)) are not supported. For a list of operators, see Operand-data-types-and-operator-compatibility. Note that this topic is more closely related to conditions in Compliance rules, and cardinality conditions are not relevant to smart groups. - In the next box to the right, provide a value or values for the property.
For example, to create a smart depot group that contains all BLPackages created between two dates, select BLPackage in the first box; then select DATE_CREATED, and then select between. Finally, select two dates in the boxes furthest to the right. For a smart component group, the following example is especially useful. Select the TEMPLATE object (rather than a property) in the first box, and then select equals as the operator, and finally select a component template. The resulting smart component group is populated with all components that satisfy the signature in the selected component template. To create a smart server group that groups all IPv6 servers, you can use the following condition: Any Server where IP_ADDRESS contains : - To prepare for another condition, in the last box select the logical operator (either AND or OR) to connect between the current condition and the next condition.
- Click Apply Changes
at the end of the condition line to apply your changes to the condition (or, alternatively, leave the condition line by clicking outside of it). You can click Cancel Changes to cancel any editing that you performed on the condition line as long as you have not yet applied your changes.
Tip To use the keyboard to navigate within a condition, you have the following options: - To move from one field to the next field, press Ctrl+Tab. To move back to the previous field, press Ctrl+Shift+Tab.
- To exit edit mode for the condition and display the condition as one continuous textual string, press Tab.
To create another condition, click Add New Condition above the condition list. An additional line for another condition appears. Double-click this line and repeat step 1 on this line. To delete a condition, click the condition line and then click Remove selected condition . Tip To use the keyboard to navigate between conditions, you have the following options: - To move from one condition to the next, press Tab.
- To move back to the previous condition, press Shift+Tab.
To group together multiple conditions in logical parentheses, select the multiple condition lines and click Group selected conditions . To remove the logical parentheses, select the multiple condition lines and click Ungroup selected conditions . Note You cannot nest condition groupings. That is, you cannot apply logical parentheses to conditions that are already within a wider set of logical parentheses.
|