8.2 Understanding Rule Sets

Rule sets are collections of rules you want to enforce on a specific UNIX agent computer or a group of UNIX agent computers. You can create rule sets that are specific to the location, job, or sensitivity of a particular UNIX or Linux computer, or you can easily create a rule set to apply to all your Apache web servers or Oracle database servers. You can enforce unique rule sets on each UNIX agent or deploy a uniform rule set to multiple computers.

Rule set data is normally in a UNIX Agent Manager server, and can be accessed by any UNIX Agent Manager console that is connected to that server. However, you can export the data to a file that can be imported into another server. When you import a rule set, you have the opportunity to change the name of that rule set.

8.2.1 Selecting a Rule Set to Edit

Before you start working with a rule set, determine what rule set you want to modify. Consider the following scenarios:

  • Consider reviewing and editing the default rule set provided with the UNIX Agent Manager if this is an initial implementation of rule sets in your organization. The UNIX Agent Manager displays the default rule set when you open Rules Manager and click Create Rule Set If you modify the default rule set, save the new rule set with a unique name.

  • Open a saved rule set if you have already begun to edit a rule set. You might also need to open a saved rule set if you have template rule sets based on the job-related use of the agent computer. For more information, see Section 8.2, Understanding Rule Sets

8.2.2 Viewing Rule Sets and Editing Rule Set Properties

When you open a rule set, the UNIX Agent Manager provides both a tree pane and a list pane. The tree pane provides an easy way to navigate through specific event source and rule group information, while the list pane changes to provide detailed information about your tree selection.

At the second level of the tree, you can find the event sources and rule groups of the rule set. The following list provides a short description of the contents of this secondary tree level and references for more information:

UNIX Agent Manager displays disabled rules and event sources in a darker color.

Editing Properties

The content pane allows you to view the configuration of any selected tree element. But, you cannot edit the properties in the content pane.

To edit the properties of an element:

  1. Right-click the element in the tree pane. You cannot modify the properties of action elements and conditional elements from the tree pane. For more information, see Section 8.7, Understanding Rules and Actions, Section 8.9, Understanding Conditionals and Comparisons, and Section 8.10, Understanding Time Conditions.

  2. Select Edit on the menu.

  3. On the Edit window, modify the appropriate properties.

  4. Click OK to save the modifications and close the window.

8.2.3 Activating Rule Sets

Deploying a rule set to an agent computer replaces the previous rule set. The event detection and alerting daemon begins processing and initializing the new rule set immediately. However, it may take up to 30 seconds for the new rule set to take effect. Modifications to items in the filesystem rule group may cause the event detection and alerting daemon may take longer to initialize, due to the time it takes to create initial snapshots of the filesystem objects.

To deploy rule sets to agent computers:

  1. Start the UNIX Agent Manager.

  2. Start the UNIX Agent Manager.

  3. Start the UNIX Agent Manager.

  4. Click File > Rules Manager.

  5. Click Manage Rule Sets > Create Rule Set, then enter a name for rule set.

  6. (Conditional) If you want to make changes to the default rule set displayed in the Rules Manager, customize the rule set as needed until the rule set is correctly configured for your environment.

  7. Close the Rule Editor.

  8. Click Back to return to the main Rules Management window.

  9. In the Available Hosts list, select the agent computers where you want to use the rule set.

  10. Click To Selected Hosts to deploy the rule set. The detectd process begins processing and initializing the new rule set immediately. However, it may take up to 30 seconds for the new rule set to take effect.

  11. Verify that the rule set is active on the agent computers. The Sentinel column shows green cells for all agents with an active rule set.