Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Log & Event Manager (LEM) > LEM Administrator's Guide > Test, enable, and disable rules in LEM

Test, enable, and disable rules in LEM

Updated: September 15, 2017

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 File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/button-plus-black_15x14.png 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. Open the Build > Rules view.

  3. In the Rule Categories & 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 button-gear_17x14.png next to the rule and select Enable. To enable multiple rules, click button-gear(gray).png in the Rules toolbar and select Enable.

    The Enabled File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-enabled_14x14.png 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. Open the Build > Rules view.

  3. In the Rule Categories & 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. Click button-gear(gray).png in the Rules toolbar and 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 displays with File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-enabled_13x13.png 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. Click Build > Rules.

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

  4. Ensure that your selected rule has an Enabled File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-enabled_14x14.png icon in the Enabled column.

    If the rule displays a disabled File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-disabled_14x14.png icon, enable the rule by clicking button and selecting Enable.

  5. To place a single rule in test mode, click button-gear_17x14.png and select Test On / Test Off. To place multiple selected rules in test mode, click button-gear(gray).png and select Test On / Test Off.

    In the Rules grid, the File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-enabled_15x15.png 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. Click Build > Rules.

  3. In the Rule Categories & 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 button-gear_17x14.png and select Test On / Test Off. To disable test mode on multiple selected rules, click   button-gear(gray).png  and select Test On / Test Off.

    In the Rules grid, the disabled File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-disabled_15x15.png 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. Click Build > Rules.

  3. In the Rule Categories & 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. Click Build > Rules.

  3. In the Rule Categories & 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 as long as 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. Open the Build > Rules view.

  3. In the Rule Categories & 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 button-gear_17x14.png next to the rule and select Disable.

    To disable multiple rules, click  button-gear(gray).png in the Rules toolbar and select Disable.

  6. The Disabled File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0770-Test_enable_and_disable_rules_in_LEM/icon-disabled_15x15.png 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.

Last modified

Tags

Classifications

Public