如何啟用或停用規則或監視How to enable or disable a rule or monitor

重要

已不再支援此版本的 Operations Manager,建議升級至 Operations Manager 2019This version of Operations Manager has reached the end of support, we recommend you to upgrade to Operations Manager 2019.

在 System Center - Operations Manager 中,如果管理組件的預設設定包含對您環境來說非必要的監視或規則,您便可使用覆寫來停用此監視或規則。In System Center - Operations Manager, if a management pack's default settings contain a monitor or rule that is not necessary in your environment, you can use overrides to disable this monitor or rule. 此外,某些管理組件隨附一些已停用的規則或監視;您應該閱讀管理組件指南,以找出預設停用的工作流程,並判斷是否應該基於您的監視需求來啟用其中任何一個工作流程。In addition, some management packs ship with some rules or monitors disabled; you should read the management pack guide to identify the workflows that are disabled by default and determine if you should enable any of them for your monitoring needs. 例如,用於網路監視的管理組件包含廠商特定的規則和監視。For example, the management packs for network monitoring contain rules and monitors that are vendor-specific. 網路管理組件中的許多廠商特定規則和監視都已停用,以免影響效能。Many vendor-specific rules and monitors in the network management pack are disabled to avoid performance impact. 您應該識找出您環境中使用的裝置,並使用覆寫來啟用您裝置特定的規則及監視。You should identify the devices used in your environment and use overrides to enable the rules and monitors specific to your devices.

使用覆寫來啟用或停用監視或規則To enable or disable a monitor or rule using overrides

  1. 使用屬於 Operations Manager 進階操作員角色成員的帳戶登入電腦。Log on to the computer with an account that is a member of the Operations Manager Advanced Operator role.

  2. 在 Operations 主控台中,按一下 [撰寫中] 。In the Operations console, click Authoring.

  3. 在 [撰寫中] 工作區中,按一下 [監視] \ (若要停用規則,請改選 [規則] )。In the Authoring workspace, click Monitors (or Rules if you want to disable a rule).

  4. 在 [監視] 或 [規則] 區段中,按一下要停用的監視或規則。In the Monitors or Rules section, click the monitor or rule that you want to disable.

  5. 在 Operations 主控台工具列上,按一下 [覆寫] ,然後指向 [覆寫監視] 或 [規則] 。On the Operations console toolbar, click Overrides and then point to Override the Monitor (or Rule). 您可以選擇針對特定類型的物件,或針對群組中的所有物件,覆寫此監視或規則。You can choose to override this monitor or rule for objects of a specific type or for all objects within a group. 選擇要覆寫的物件類型群組之後,[覆寫內容] 對話方塊即會開啟,讓您可以檢視此監視或規則內含的預設設定。After you choose which group of object type to override, the Override Properties dialog box opens, enabling you to view the default settings contained in this monitor or rule. 如需如何套用覆寫的詳細資訊,請參閱針對覆寫使用類別和群組For more information about applying an override, see Using Classes and Groups for Overrides.

  6. 在 [覆寫內容] 對話方塊中,按一下以選取對應至 [已啟用] 參數的 [覆寫] 核取方塊。In the Override Properties dialog box, click to select the Override check box that corresponds to the Enabled parameter.

    注意

    如果您選取 [停用] 而不是 [覆寫] ,[覆寫內容] 對話方塊隨即開啟,其中已選取 [覆寫] 核取方塊,並將 [已啟用] 值設為 [False] 。If you select Disable instead of Override, the Override Properties dialog box opens with the Override check box selected and the Enabled value set to False.

  7. 在 [覆寫設定] 欄中,按一下 [True] 以啟用規則或監視,或者按一下 [False] 以停用規則或監視。In the Override Setting column, click True to enable the rule or monitor or False to disable the rule or monitor.

  8. 在 [選取目的地管理組件] 清單中,按一下用來存放覆寫的適當管理組件,或按一下 [新增] 來建立未密封的新管理組件。In the Select destination management pack list, click the appropriate management pack in which to store the override or create a new unsealed management pack by clicking New. 如需選取目的地管理組件的詳細資訊,請參閱建立覆寫的管理組件For more information about selecting a destination management pack, see Creating a Management Pack for Overrides.

  9. 完成所有變更後,按一下 [確定] 。When you complete your changes, click OK.

後續步驟Next steps