在 SharePoint Server 中設定 SharePoint Health Analyzer 規則Configure SharePoint Health Analyzer rules in SharePoint Server

摘要: 學習使用管理中心設定 SharePoint Server 2016 和 SharePoint Server 2013 Health Analyzer 規則。Summary: Learn to configure SharePoint Server 2016 and SharePoint Server 2013 Health Analyzer rules by using Central Administration.

開始之前Before you begin

因為 SharePoint Server 在 Internet Information Services (IIS) 中以網站形式運作,所以管理員與使用者均依賴瀏覽器提供的協助工具功能。SharePoint Server 支援所支援瀏覽器的協助工具功能。如需詳細資訊,請參閱下列資源:Because SharePoint Server runs as websites in Internet Information Services (IIS), administrators and users depend on the accessibility features that browsers provide. SharePoint Server supports the accessibility features of supported browsers. For more information, see the following resources:

設定 SharePoint Health Analyzer 規則Configuring SharePoint Health Analyzer rules

您可以接受每個狀況規則的預設設定,也可以使用管理中心變更狀況規則的設定。You can accept the default settings for each health rule, or you can change settings for a health rule by using Central Administration.

使用管理中心設定狀況規則To configure health rules by using Central Administration

  1. 確認執行此程序的使用者帳戶為伺服器陣列管理員群組的成員。Verify that the user account performing this procedure is a member of the Farm Administrators group.

  2. 在管理中心首頁上,按一下 [監視]*In Central Administration, on the Home page, click *Monitoring.

  3. 在 [監視]**** 頁面上,按一下 [狀況分析器]**** 下的 [檢閱規則定義]*On the *Monitoring page, under Health Analyzer, click Review rule definitions.

  4. 在 [狀況分析規則定義]**** 頁面上,按一下要設定的規則。On the Health Analyzer Rule Definitions page, click the rule that you want to configure.

  5. 在 [狀況分析器規則定義]**** 對話方塊中,按一下 [編輯項目]*In the *Health Analyzer Rule Definitions dialog, click Edit Item.

  6. 編輯一或多個規則欄位,然後按一下 [儲存]*Edit one or more rule fields, and then click *Save.

    若要保持規則不變,請解除對話方塊或按一下 [取消]*To leave the rule unchanged, either dismiss the dialog or click *Cancel.

每個狀況規則均具備可設定的欄位,如下表所述。Each health rule has configurable fields, which are described in the following table.

SharePoint Health Analyzer 規則的可設定欄位Configurable fields for SharePoint Health Analyzer rules

可設定欄位Configurable field 描述Description
職稱Title
狀況規則的名稱。您可以重新命名狀況規則,以闡明功能。標題是管理中心 [狀況規則定義]**** 清單中所顯示的規則名稱。The name of the health rule. You can rename a health rule to clarify its functionality. The title is the name of the rule as it appears in the Health Rule Definitions list In Central Administration.
變更標題不會影響規則的執行方式。Changing the title does not affect how the rule runs.
範圍Scope
可以將狀況規則設定為針對所有伺服器或任意伺服器執行。如果設定為針對任意伺服器執行,則規則將在系統遇到第一個可用的伺服器上執行。You can set a health rule to run against all servers or any server. If set to any server, the rule will run on the first available server that the system encounters.
排程Schedule
您可以排程狀況規則為每小時、每天、每週或每月執行一次,也可以排程為在需要時執行。You can schedule a health rule to run hourly, daily, weekly, monthly, or on demand only.
啟用Enabled
您可以選取或清除此核取方塊以啟用或停用狀況規則。You can select or clear this check box to enable or disable a health rule.
自動修復Repair Automatically
您可以指定狀況規則是否自動嘗試將修復發現的錯誤。如果選取此選項,則 SharePoint Server 將按照規則中的規定,一發現錯誤時就進行修復。You can specify whether a health rule automatically attempts to repair errors that it finds. If this option is selected, SharePoint Server will repair errors as soon as they are found, as defined by the rule.
> [!NOTE]> 如果規則未指定修復,則系統不會嘗試修復問題。If no repair is specified by the rule, the system does not attempt to repair the problem.
版本Version
版本歷程記錄使您能夠追蹤對每個規則執行的變更。每次儲存規則時都將更新版本號碼。版本號碼不會影響規則的運作。Version history enables you to track the changes performed on each rule. The version number is updated every time that the rule is saved. The version number does not affect how the rule works.

每個狀況規則均具有唯讀欄位,如下表所述。Each health rule has read-only fields, which are described in the following table.

SharePoint Health Analyzer 規則的唯讀欄位Read-only fields for SharePoint Health Analyzer rules

唯讀欄位Read-only field 描述Description
版本Version
規則的目前版本號碼。The current version number of the rule.
建立於Created at
最初建立規則的日期與時間,以及建立規則的使用者帳戶。The date and time that the rule was originally created and the user account that created the rule.
上次修改日期Last modified at
上次變更規則的日期與時間,以及建立規則的使用者帳戶。The date and time that the rule was last changed and the user account that created the rule.

如需有關 SharePoint Server 監視設定的詳細資訊,請參閱<在 SharePoint Server 2016 中設定監視>。For more information about SharePoint Server monitoring configuration, see Configure monitoring in SharePoint Server 2016.

另請參閱See also

概念Concepts

SharePoint Server 2016 的 SharePoint 狀況分析器規則參考SharePoint Health Analyzer rules reference for SharePoint Server 2016