Test, enable, and disable rules in LEM

About selecting multiple rules to test, enable, or disable

You can select two or more rules at the same time to test, enable, or disable by selecting the rules in the grid and clicking in the Rules toolbar. This command, however, acts as a toggle on each selected rule. For example, if one rule is Test On and another is Test Off, performing this command on both rules at the same time inverts the settings of both rules. As a result, the first rule is Test Off and the second rule is Test On. When you perform this command on multiple rules, select rules that are in the same state—Test On or Test Off, or Enabled or Disabled.

Enable and activate rules prior to testing

You must enable a rule before you can test it.

When selecting two or more rules at the same time to enable, select rules that are in the same state—Enabled or Disabled. See About selecting multiple rules to test, enable, or disable for more information.

Enable rules from the Rules grid or directly from the Rules Creation screen. Instructions for both tasks are provided.

Do not forget to activate your rule by clicking Activate Rules in the Rules toolbar. This step is frequently overlooked.

Enable rules from the Rules grid

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rules you want to enable.

  4. In the Rules grid, select the rule (or rules) you want to enable.

  5. To enable a single rule, click next to the rule, and then select Enable. To enable multiple rules, click in the Rules toolbar, and then select Enable.

    The Enabled icons for each selected rule become active, indicating the rules are enabled.

  6. Click Activate Rules in the Rules toolbar to activate the rule.

    The rule is enabled.

Enable rules from the Rule Creation screen

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rules you want to enable.

  4. In the Rules grid, select the rule (or rules) you want to enable.

  5. in the Rules toolbar, click , and then select Edit.

  6. In the Rule window, select the Enable check box. Repeat this step for each additional opened rule.

  7. Click Save.

    The Rules grid appears with in the Enabled column for each enabled rule.

  8. Click Activate Rules in the Rules toolbar to activate the rule.

    The rule is enabled.

Testing rules in LEM

Before you put a rule into production, try it out in test mode. In test mode, the LEM Manager processes the rule alert messages, but does not execute any rule actions. This lets you see how the activated rule will behave without disrupting your network.

When selecting two or more rules at the same time to test, select rules that are in the same state—Test On or Test Off. See About selecting multiple rules to test, enable, or disable for more information.

Enable test mode in the Rules grid

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rule you want to test.

  4. Ensure that your selected rule has an Enabled icon in the Enabled column.

    If the rule displays a disabled icon, enable the rule by clicking , and then selecting Enable.

  5. To place a single rule in test mode, click , and then select Test On/Test Off. To place multiple selected rules in test mode, click , and then select Test On/Test Off.

    In the Rules grid, the icon displays in the Test column for each rule in test mode.

  6. Click Activate Rules.

    The rules are now functional, but in test mode.

Disable test mode in the Rules grid

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rule you want to test.

  4. In the Rules grid, select the rule (or rules) you want to work with.
  5. To disable test mode in a single rule, click , and then select Test On/Test Off. To disable test mode on multiple selected rules, click and select Test On/Test Off.

    In the Rules grid, the disabled icon appears in the Test column to indicate the rule is no longer in test mode.

  6. Click Activate Rules.

    The rules are now fully functional.

Enable test mode from the Rule Creation screen

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rule you want to test.

  4. In the Rules grid, click to select the rule you want to test.

  5. In the Rules grid toolbar, click Edit.

    Rule Creation displays, showing the current rule configuration.

  6. Select the Enable check box.

  7. Select the Test check box.

    To test a rule, the Enable and Test check boxes must be selected. If only Enable is checked, the rule is enabled and ready for use. If only Test is checked, the rule will not be enabled, and the LEM Manager will not be able to use it for testing.

  8. Click Save.

  9. In the Rules toolbar, click Activate Rules.

    The rule is now in test mode.

Disable test mode from the Rule Creation screen

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rule you want to test.

  4. In the Rules grid, click to select the rule you want to test.

  5. In the Rules grid toolbar, click Edit.

    Rule Creation displays, showing the current rule configuration.

  6. Clear the Test check box.

  7. Click Save.

  8. In the Rules toolbar, click Activate Rules.

    The rule is now fully functional and no longer in test mode.

Disable rules in LEM to stop them from processing

The LEM Manager continues to use active rules if they are enabled. Turn off rules by disabling them and clicking the Activate Rules command. Note that the Manager will continue to use disabled rules until you confirm their disabled state with the Activate Rules command.

When selecting two or more rules at the same time to disable, select rules that are in the same state—Enabled or Disabled. See About selecting multiple rules to test, enable, or disable for more information.

Disable rules from the Rules grid

  1. Open the LEM console. See Log in to the LEM web console or Log in to the LEM desktop console for steps.

  2. On the LEM toolbar, navigate to Build > Rules.

  3. In the Rule Categories and Tags pane, maximize the category that contains the rules you want to disable.

  4. In the Rules grid, select the rule (or rules) you want to disable.

  5. To disable a single rule, click next to the rule, and then select Disable.

    To disable multiple rules, click in the Rules toolbar, and then select Disable.

  6. The Disabled icons for each selected rule become active, indicating the rules are now inactive.

  7. Click Activate Rules.

    The Manager stops processing the disabled rules.

Disable rules from the Rule Creation screen

  1. Open the rule you want to disable in Rule Creation.

  2. Clear the Enable check box.

  3. Click Save.

  4. Click Activate Rules in the Rules toolbar.

    The Manager stops processing the disabled rule.