Configuring Collections of Rules, Rule Functions, and Destinations
The purpose of configuring collections of rules, rule functions, and destinations is to make it simpler to configure agent classes. When you configure an agent, you can add collections of resources or individual resources or both. Two collections are predefined: an all-rules collection and an all-functions collection.
The procedure is in general the same for rules, rule functions, and destinations, so in these instructions, the word item is used to refer to any rule or rule function or destination.
A collection can have references to items (rules, rule functions, or destinations), and also references to other collections of the same type. References are identified in the groups tree by a reference symbol (). This mechanism enables you to reuse collections for more efficient configuration.
For the log configurations procedure, see Configuring Log Configurations
Procedure
-
In the Collections tab do any of the following:
- To add a new collection, select the parent for the collection type, Rules, Destinations, Functions, or Log Configurations as needed, and click Add.
- In the
Item Collection field that appears on the right, enter a name for the group and click
Add again.
Ensure that the collection name is unique across different collections in the CDD. For example, Rule collections and Destination collections in the CDD cannot have the same name.
- To add
items and
item group references to a collection, select the item collection and then click
Add.
You see the Select Items dialog box.
-
In the Select
Items dialog box do any of the following:
- To add items, in the Items tree click the check boxes of items you want to add to the group you are defining.
- To add collection references, in the
Collection References
tree click the check boxes of collections you want to add (by reference) to the collection you are defining.
When you select a collection on the left, you see details on the right: For example, the path to item you selected, and the names of collections you selected.
- For function collections only, reorder the functions as needed, so that they execute in the correct order at runtime (that is, at startup or shutdown). Highlight a rule function in the tree on the left, and then click Move Up or Move Down as needed.
- For destination collections only, configure each destination in turn. Select the destination on the left and complete the settings on the right to define characteristics such as the threading model to use, and the event preprocessor. See CDD Collections Tab Input Destination Settings Reference for information about each setting.
- Save the CDD.