Skip to content
CA Spectrum - 10.3
Documentation powered by DocOps

Working with Monitoring Rule Sets

Last update April 28, 2017

Contents

A rule set is a collection of monitoring rules for processes and file systems you can apply to a Global Collection. Rule set automates the process of setting up and managing monitoring for hosts modeled in CA Spectrum. When you create a process or file system monitoring rule for a particular host model, that rule applies only to that host model. If you want to apply the same rule to other host models, create the same rule again and again for each host model. If you want to edit the rule for all models, modify each instance of the rule for each host model. This task is obviously a tedious and inefficient way to manage host monitoring for numerous host models. By applying rule sets to Global Collections, you leverage a more efficient method of managing IT infrastructure resources. When host models are added to a collection, CA Spectrum creates monitoring rules that reference the processes or file systems for those models. Furthermore, when monitoring rules in rule sets are modified, the modifications apply to all host models in the collection. When host models are removed from a collection, all monitoring rules for the models are removed too.

Create a Rule Set

You can create rule sets that contain multiple monitoring rules for both host processes and file systems, or you can create rule sets that include one or the other. You can apply as many rule sets as you want to a Global Collection. You can also apply the same rule set to multiple collections.

Important! Plan your rule set implementation carefully to avoid duplicating rules or implementing conflicting rules. Duplicate or conflicting rules can cause unexpected results and make troubleshooting difficult. Also verify that the Global Collections to which you apply rule sets include host models that are appropriate for the monitoring rules in those rule sets.

As you create rule sets, keep the following points in mind:

  • Rule sets must have unique names.
  • Rules that are included in rule sets do not override identically named local monitoring rules for host models included in Global Collections. If a local monitoring rule has been created for a particular host model and the model is included in a Global Collection that has a rule set applied to it that contains an identically named rule, the local rule is preserved and remains in effect for the model.
Note: Only users with the appropriate privileges can create monitoring rule sets. For more information, see System and Application Monitoring Privileges.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists any rule sets that have been created.
    Default rule sets are not present.
  2. Click Create Rule Set icon (Create a New Rule Set by Type) and then select one of the following options, depending on the agent you are working with:
    • RFC2790
    • NSM Agent:
      • r11 Windows
      • r11 UNIX
      • 3.1 Windows
      • 3.1 UNIX
    The 'New Rule Set' dialog appears.
  3. Type a name for the rule set in the Rule Set Name field, and then click OK.
    The new rule set appears in the list. You can now add process monitoring and file system monitoring configuration rules to the rule set. And you can apply the rule set to a Global Collection container.

Add a Monitoring Rule to a Rule Set

You can add monitoring rules to a rule set before or after you apply the rule set to a Global Collection.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists rule sets.

    Note: If no rule sets are listed, create a rule set for the rule, as described in Create a Rule Set.
  2. Select the rule set to which you want to add the monitoring rule.
    The Component Detail panel displays information about the rule set.
  3. On the Information tab, specify the type of rule to add to the rule set:
    • To add a process monitoring rule, expand Process Monitoring Rules.
    • To add a file system monitoring rule, expand File System Monitoring Rules.

      Note: The NSM rule sets do not support file system monitoring rules.
    Each rules table lists rules that have been added to the rule set.
  4. Click Add for the type of rule to add to the rule set.
    Either the Add Monitored Process dialog or the Add File System Monitor dialog opens.
  5. Configure settings.
  6. Click OK.
    The rule is added to the rule set.

Apply a Rule Set to a Global Collection

Applying a rule set to a Global Collection automates the process of creating monitoring rules. CA Spectrum automatically creates monitoring rules for all models in the Global Collection.

As you apply rule sets to Global Collections, consider the following facts:

  • If you remove models from the Global Collection, all monitoring rules that are specified by the rule set are removed from the models.
  • If you edit a rule from a rule set for a particular model that is included in a Global Collection, the ownership of a rule changes to local ownership. The rule is no longer associated with the rule in the rule set and applies only to that particular model.
  • If you delete a rule set that is associated with a Global Collection or vice versa, the rules that are specified by the rule set are removed from the models in the collection.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists rule sets.

    Note: If no rule sets are listed, create a rule set as described in Create a Rule Set.
  2. Right-click the rule set or sets that you want to apply to a Global Collection, and select Apply/Remove Global Collection(s).
    The 'Apply and Remove Collection(s) to/from the Rule Set' dialog appears.
    All Global Collections that are listed in the left side of the dialog are currently applied to the selected rule set. Global Collections that are listed on the right side have not been applied.
  3. In the Not Applied To list, double-click the Global Collection to which you want to apply the rule set.
    The selected Global Collection moves to the Applied To list.

    Note: You cannot apply Global Collections to multiple rule sets simultaneously.
  4. (Optional) Select the Reapply check box to reapply the Global Collection or Collections that are already applied to the rule set when you click OK in the dialog.
  5. Click OK to apply your changes.

    Note: Only the changes that you made in the dialog are applied. A Global Collection that already appears in the Applied To list is not reapplied unless you have selected the Reapply check box.

    The Applied Global Collections List in the Information tab of the selected rule set shows the Global Collections to which it is applied.

Remove a Rule Set from a Global Collection

When you remove a rule set from a Global Collection, CA Spectrum removes monitoring rules in the rule set from all models in the Global Collection.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists rule sets.
  2. Right-click the rule set or sets from which you want to remove a Global Collection and select Apply/Remove Global Collection(s).
    The 'Apply and Remove Collection(s) to/from the Rule Set' dialog appears.

    Note: You can also click Apply Global Collection icon in the Results tab toolbar to launch this dialog.

    All Global Collections that are listed in the left side of the dialog are currently applied to the selected rule set. Global Collections that are listed on the right side have not been applied.

  3. In the Applied To list, double-click the Global Collection that you want to remove from the rule set.
    The selected Global Collection is moved to the Not Applied To list.

    Note: You cannot remove Global Collections from multiple rule sets simultaneously.
  4. (Optional) Select the Reapply check box to reapply the Global Collection or Collections that are already applied to the rule set when you click OK in the dialog.
  5. Click OK to apply your changes.

    Note: Only the changes you made in the dialog are applied. A Global Collection that already appears in the Applied To list is not reapplied unless you have selected the Reapply check box.

    The Applied Global Collections List in the selected Information tab of the rule set is updated. The Global Collection or Collections that you removed are no longer displayed.

Edit a Rule in a Rule Set

When you edit a rule in a rule set that is applied to a Global Collection, the revised rule settings extend to all models in the Global Collection.

Important! To edit a rule, you must have a user model in all landscapes where the rule was created.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists rule sets.
  2. Select the rule set with the rule that you want to edit.
    The Component Detail panel displays information about the rule set.
  3. In the Component Detail panel, specify the type of rule to edit, either a process monitoring rule or a file system monitoring rule.
    Each rule type table lists rules that have been included in the rule set.
  4. Select a rule, and click Edit.
    The Edit dialog opens.

    Note: Some settings are unavailable for edit.
  5. Edit settings, and then click OK.
    The modified settings take effect immediately.

Editing a Rule Outside of a Rule Set

Under some circumstances, you may want to modify a monitoring rule for a particular model in a Global Collection even though the rule belongs to a rule set that has been applied to a Global Collection. You might not want the modification to apply to the rule in the rule set because the modification would then apply to all models in the Global Collection. But you still want to keep the model in the collection.

In this case, convert the rule to a local version for the model. You can modify this rule from the context of the particular model outside of the rule set to achieve this result.

Delete a Rule from a Rule Set

When you delete a rule from a rule set that is applied to a Global Collection, the rule is removed from all models in the Global Collection.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists rule sets.
  2. Select the rule set with the rule that you want to delete.
    The Component Detail panel displays information about the rule set.
  3. In the Component Detail panel, specify the type of rule to delete from the rule set, either a process monitoring rule or a file system monitoring rule.
    Each rule table lists rules that have been included in the rule set.
  4. Select the rule, and click Delete.
    The rule is removed from the rule set and from its rule table.

Deleting a Rule Outside of a Rule Set

Under some circumstances, you may want to delete a rule for a particular model in a Global Collection even though that rule belongs to a rule set that is applied to a Global Collection. You might not want to delete the rule in the rule set and thus delete it for all models in the Global Collection. But you still want to keep the model in the collection.

In this case, delete this rule from the context of the particular model outside of the rule set. When the association between the rule set and the Global Collection is updated, however, the deleted rule is recreated for the model.

Delete a Rule Set

When you delete a rule set that is applied to a Global Collection, all rules in the rule set are removed from the models in the collection.

Follow these steps:

  1. Select Locater, System & Application Monitoring, All Monitoring Rules.
    The Contents panel lists all available rule sets.
  2. Select the rule set to delete, and click Delete.
Was this helpful?

Please log in to post comments.