如何在 Configuration Manager 中監視用戶端How to monitor clients in Configuration Manager

適用於: Configuration Manager (最新分支)Applies to: Configuration Manager (current branch)

在您站台中的 Windows 裝置上安裝 Configuration Manager 用戶端之後,即可在 Configuration Manager 主控台中監視其健康情況與活動。Once you install the Configuration Manager client on the Windows devices in your site, monitor their health and activity in the Configuration Manager console.

關於用戶端狀態About client status

Configuration Manager 提供下列類型的資訊作為用戶端狀態:Configuration Manager provides the following types of information as client status:

  • 用戶端線上狀態:如果裝置已連線到受指派的管理點,則該站台就會將裝置視為線上Client online status: The site considers a device as online if it's connected to its assigned management point. 為了表示用戶端在線上,它會傳送類似 Ping 的訊息給管理點。To indicate that the client is online, it sends ping-like messages to the management point. 如果管理點未在 5 分鐘內收到訊息,則該站台就會將該用戶端視為離線If the management point doesn't receive a message in five minutes, the site considers the client as offline.

  • 用戶端活動:如果用戶端在過去七天內與 Configuration Manager 通訊,則該站台就會將用戶端視為作用中Client activity: The site considers the client as active if it has communicated with Configuration Manager in the past seven days. 如果用戶端在七天內未完成下列動作,則該站台就會將用戶端視為非使用中The site considers the client inactive if it hasn't done the following actions in seven days:

    • 要求原則更新Requested policy update
    • 傳送活動訊號訊息Sent a heartbeat message
    • 傳送硬體清查Sent hardware inventory
  • 用戶端檢查:Configuration Manager 用戶端在裝置上執行之定期評估的狀態。Client check: The state of the periodic evaluation that the Configuration Manager client runs on the device. 此評估會檢查裝置,而且可以修復它所發現的一些問題。The evaluation checks the device and can remediate some of the problems it finds. 如需詳細資訊,請參閱用戶端健康情況檢查For more information, see Client health checks.

    在執行 Windows 7 的裝置上,用戶端檢查會作為排定的工作執行。On devices that run Windows 7, client check runs as a scheduled task. 在更新版本的 OS 上,用戶端檢查會在 Windows 維護期間自動執行。On later OS versions, client check runs automatically during the Windows maintenance window.

    您可以設定不在特定裝置上執行補救,例如攸關業務的伺服器。You can configure remediation not to run on specific devices, for example, a business-critical server. 如果還有其他要評估的項目,請使用 Configuration Manager 合規性設定來監視其他設定。If there are additional items that you want to evaluate, use Configuration Manager compliance settings to monitor additional configurations. 如需合規性設定的詳細資訊,請參閱規劃和設定合規性設定For more information about compliance settings, see Plan for and configure compliance settings.

  • 已解除任務:該站台已標示要刪除的裝置記錄。Decommissioned: The site has marked the device record for deletion. 當相同裝置的新註冊分配給階層中相同或不同的主要站台時,可能會發生此行為。This behavior can happen when a new registration for same device assigns to the same or a different primary site in a hierarchy. 該站台會在下次執行站台維護工作 (刪除過時探索資料) 時刪除這些裝置。The site deletes these devices the next time it runs the site maintenance task Delete Aged Discovery Data.

  • 已淘汰:該站台已發現具有相同硬體識別碼的新裝置記錄,因此它會將舊記錄標示為已過時。Obsolete: The site has discovered a new device record with the same hardware ID, so it marks the old record as obsolete. 報告不會多次計算相同裝置的過時記錄。Reports don't count obsolete records of the same device multiple times. 您仍然可以讓原則以過時的裝置為目標。You can still target policies to obsolete devices. 如果站台在 90 天無活動狀態後沒有取得過時記錄的活動訊號,則會在執行站台維護工作 (刪除過時用戶端探索資料) 時移除過時的裝置。If the site doesn't get a heartbeat for an obsolete record after 90 days of inactivity, it removes the obsolete device when it runs the site maintenance task Delete Obsolete Client Discovery Data.

監視個別用戶端Monitor individual clients

  1. 在 Configuration Manager 主控台中,移至 [資產與合規性] 工作區。In the Configuration Manager console, go to the Assets and Compliance workspace. 選取 [裝置] 節點,或在 [裝置集合] 下選擇一個集合。Select either the Devices node or choose a collection under Device Collections.

    每一列列開頭的圖示都會指出裝置的線上狀態︰The icons at the beginning of each row indicate the online status of the device:

    圖示Icon DescriptionDescription
    用戶端的線上狀態圖示 裝置在線上Device is online
    用戶端的離線狀態圖示 裝置已離線Device is offline
    用戶端的未知狀態圖示 線上狀態未知Online status is unknown
    未安裝用戶端 用戶端未安裝在裝置上Client isn't installed on the device
  2. 如需更詳細的線上狀態,請將用戶端線上狀態資訊新增至裝置檢視中。For more detailed online status, add the client online status information to the device view. 以滑鼠右鍵按一下欄標頭,然後選取您想要新增的線上狀態欄位:Right-click the column header and select the online status fields you want to add:

    • 裝置上線狀態:指出用戶端目前在線上或離線。Device Online Status: Indicates whether the client is currently online or offline. (此狀態與圖示所提供的相同)。(This status is the same information given by the icons.)

    • 前次上線時間:指出用戶端線上狀態變更為線上的時間Last Online Time: Indicates when the client online status changed to online

    • 前次離線時間:指出狀態變更為離線的時間Last Offline Time indicates when the status changed to offline

  3. 在清單窗格中選取個別用戶端,以在詳細資料窗格中查看更多狀態。Select an individual client in the list pane to see more status in the detail pane. 此資訊包括用戶端活動與用戶端檢查狀態。This information includes client activity and client check status.

用戶端健全狀況儀表板Client health dashboard

您可以部署軟體更新及其他應用程式,以協助保護您的環境,但這些部署只能連到狀況良好的用戶端。You deploy software updates and other apps to help secure your environment, but these deployments only reach healthy clients. 狀況不良的 Configuration Manager 會對整體合規性造成不良的影響。Unhealthy Configuration Manager clients adversely effect overall compliance. 判斷用戶端的健全狀況可能會十分有挑戰性,而這會依其分母而定:應共有多少裝置在您的管理範圍中?Determining client health can be challenging depending upon the denominator: how many total devices should be in your scope of management? 例如,若您從 Active Directory 探索所有的系統,即使其中某些記錄屬於已停用的電腦,這程序仍會增加您的分母。For example, if you discover all systems from Active Directory, even if some of those records are for retired machines, this process increases your denominator.

Configuration Manager 提供具有環境中用戶端健康情況相關資訊的儀表板。Configuration Manager provides a dashboard with information about the health of clients in your environment. 檢視您的用戶端健全狀況、案例健全狀況,以及常見錯誤。View your client health, scenario health, and common errors. 透過數個屬性來篩選檢視,即可查看 OS 及用戶端版本的任何潛在問題。Filter the view by several attributes to see any potential issues by OS and client versions.

在 Configuration Manager 主控台中,按一下 [監視] 工作區。In the Configuration Manager console, go to the Monitoring workspace. 展開 [用戶端狀態],然後選取 [用戶端健全狀況儀表板] 節點。Expand Client status, and select the Client health dashboard node.

用戶端健康情況儀表板螢幕擷取畫面

提示

沒有任何要 ccmeval 的變更。There are no changes to ccmeval.

用戶端健全狀況儀表板預設會顯示線上用戶端,以及過去三年作用中的用戶端。By default, the client health dashboard shows online clients, and clients active in the past three days. 因此,您在此儀表板中看到的數目,可能與其他用戶端健全狀況歷程記錄來源中的數目不同。Therefore, you may see different numbers in this dashboard than in other historical sources of client health. 例如,[用戶端狀態] 底下的其他節點,或是用戶端狀態類別中的報告。For example, other nodes under Client Status, or reports in the client status category.

篩選器Filters

在儀表板的頂端,有可以調整顯示於儀表板上資料的一組篩選。At the top of the dashboard, there's a set of filters to adjust the data displayed in the dashboard.

  • 下列集合中的用戶端健全狀況:根據預設,會顯示裝置的儀表板位於 [所有系統] 集合中。Client health for clients in the following collections: By default, the dashboard displays devices in the All Systems collection. 選取裝置集合以將檢視範圍縮小到特定集合中的裝置子集。Select a device collection to scope the view to a subset of devices in a specific collection.

  • 最後幾天使用中用戶端數目:根據預設,儀表板會顯示過去三天使用過的用戶端。Client active in last number of days: By default, the dashboard displays clients that are active in the last three days.

  • 包含離線用戶端的用戶端健全狀況:根據預設,儀表板只會顯示上線的用戶端。Include client health for offline clients: By default, the dashboard displays only online clients. 此狀態來自用戶端通知通道,該通道每五分鐘就會更新用戶端的狀態。This state comes from the client notification channel that update a client's status every five minutes. 如需詳細資訊,請參閱關於用戶端狀態For more information, see About client status.

  • 僅顯示狀況不良用戶端的詳細資料:將檢視範圍縮小到只有回報用戶端健全狀況失敗的裝置。Only show unhealth client details: Scope the view to only devices that are reporting a client health failure.

    提示

    搭配用戶端版本及 OS 版本磚使用此篩選。Use this filter along with the client version and OS version tiles. 如需詳細資訊,請參閱版本磚For more information, see Version tiles.

整體用戶端健全狀況Overall client health

此磚可顯示您階層中的整體用戶端健全狀況。This tile shows the overall client health in your hierarchy.

狀況良好的 Configuration Manager 用戶端具有以下屬性:A healthy Configuration Manager client has the following properties:

  • 線上Online
  • 正在傳送資料Actively sending data
  • 通過全部用戶端健全狀況評估檢查Passes all client health evaluation checks

如需詳細資訊,請參閱關於用戶端狀態For more information, see About client status.

狀況良好的用戶端成功與站台通訊。A healthy client successfully communicates with the site. 其會根據用戶端設定中的已定義排程回報所有資料。It reports all data based on the defined schedules in client settings.

選取此圖表的區段,即可向下切入至裝置清單檢視。Select a segment of this chart to drill down to a device list view.

版本磚Version tiles

有兩個可以依 Configuration Manager 用戶端版本及 OS 版本,顯示用戶端健全狀況的磚。There are two tiles that show client health by Configuration Manager client version and OS version. 當您對 [僅限失敗] 等篩選進行變更時,這些磚非常實用。These tiles are useful when you make changes to the filters, such as Failure only. 其可協助特別提示特定版本上是否有任何問題持續出現。They can help highlight whether any issues are consistent across a specific version. 使用此資訊協助您做出升級決策。Use this information to help you make upgrade decisions.

選取這些圖表的區段,即可向下切入至裝置清單檢視。Select a segment of these charts to drill down to a device list view.

案例健全狀況Scenario health

此橫條圖會顯示以下核心案例的整體健全狀況:This bar chart shows the overall health for the following core scenarios:

  • 用戶端原則Client policy
  • 活動訊號探索Heartbeat discovery
  • 硬體清查Hardware inventory
  • 軟體清查Software inventory
  • 狀態訊息Status messages

使用選取器調整圖表中特定案例的焦點。Use the selectors to adjust the focus on specific scenarios in the chart.

永遠顯示以下兩個橫條:The following two bars are always shown:

  • 已合併 (全部) :全部案例的組合 (和)Combined (All): the combination of all scenarios (AND)
  • 已合併 (任何) :至少一個情節 (或)Combined (Any): at least one of the scenarios (OR)

提示

案例健全狀況並非從您用戶端設定的組態測量得出。Scenario health isn't measured from your configuration of client settings. 這些值會根據每個裝置的原則結果組而有所不同。These values can vary based upon the resultant set of policy per device. 使用以下步驟來調整案例健全狀況的評估期:Use the following steps to adjust the evaluation periods for scenario health:

  • 前往 Configuration Manager 主控台中的 [監視] 工作區,然後選取 [用戶端狀態] 節點。In the Configuration Manager console, go to the Monitoring workspace, and select the Client Status node.
  • 在功能區中選取 [用戶端狀態設定]。In the ribbon, select Client Status Settings.

根據預設,若用戶端沒有在 7 天內傳送案例特定資料,則對於該案例,Configuration Manager 會認為用戶端狀況不良。By default, if a client doesn't send scenario-specific data in 7 days, Configuration Manager considers it unhealthy for that scenario.

前 10 個用戶端健全狀況失敗Top 10 client health failures

此圖表會列出環境中最常見的失敗。This chart lists the most common failures in your environment. 這些錯誤來自 Windows 或 Configuration Manager。These errors come from Windows or Configuration Manager.

監視所有用戶端的狀態Monitor the status of all clients

  1. 前往 Configuration Manager 主控台中的 [監視] 工作區,然後選取 [用戶端狀態] 節點。In the Configuration Manager console, go to the Monitoring workspace, and select the Client Status node. 檢閱整個站台的用戶端活動與用戶端檢查的整體統計資料。Review the overall statistics for client activity and client checks across the site. 選擇不同的集合來變更資訊的範圍。Change the scope of the information by choosing a different collection.

  2. 若要深入了解回報的統計資料,請選擇回報資訊的名稱。To drill down into detail about the reported statistics, choose the name of the reported information. 例如,已通過用戶端檢查的作用中用戶端或沒有結果For example, Active clients that have passed client check or no results. 然後檢閱有關個別用戶端的資訊。Then review the information about the individual clients.

  3. 選取 [用戶端活動] 以查看顯示您 Configuration Manager 站台中用戶端活動的圖表。Select Client Activity to see charts showing the client activity in your Configuration Manager site.

  4. 選取 [用戶端檢查] km以查看顯示您 Configuration Manager 站台中用戶端檢查狀態的圖表。Select Client Check to see charts showing the status of client checks in your Configuration Manager site.

    設定警示,以在用戶端檢查結果或用戶端活動低於指定百分比時通知您。Configure alerts to notify you when client check results or client activity drops below a specified percentage. 當指定百分比之用戶端上的補救失敗時,該站台也可以警示您。The site can also alert you when remediation fails on a specified percentage of clients. 如需詳細資訊,請參閱如何設定用戶端狀態For more information, see How to configure client status.

用戶端健康情況檢查Client health checks

用戶端檢查會執行下列檢查和補救:Client check runs the following checks and remediations:

用戶端檢查Client check 補救動作Remediation action 更多資訊More information
確認最近有執行用戶端檢查Verify that client check has recently run 執行用戶端檢查Run client check 確認過去三天內是否至少執行一次用戶端檢查。Checks that client check has run at least one time in the past three days.
確認已安裝用戶端必要條件Verify that client prerequisites are installed 安裝用戶端必要條件Install the client prerequisites 確認是否已安裝用戶端必要條件。Checks that client prerequisites are installed. 閱讀用戶端安裝資料夾中的檔案 ccmsetup.xml,以探索必要條件。Reads the file ccmsetup.xml in the client installation folder to discover the prerequisites.
WMI 存放庫完整性測試WMI repository integrity test 重新安裝 Configuration Manager 用戶端Reinstall the Configuration Manager client 確認 Configuration Manager 用戶端項目是否存在於 WMI 中。Checks that Configuration Manager client entries are present in WMI.
確認用戶端服務正在執行Verify that the client service is running 啟動用戶端 (SMS Agent Host) 服務Start the client (SMS Agent Host) service 沒有其他資訊No additional information
WMI 事件接收測試。WMI Event Sink Test. 重新啟動用戶端服務Restart the client service 確認是否遺失 Configuration Manager 相關 WMI 事件接收測試Check whether the Configuration Manager related WMI event sink is lost
確認 Windows Management Instrumentation (WMI) 服務已存在Verify that the Windows Management Instrumentation (WMI) service exists 沒有補救措施No remediation 沒有其他資訊No additional information
確認已正確安裝用戶端Verify that the client was installed correctly 重新安裝用戶端Reinstall the client 沒有其他資訊No additional information
確認反惡意程式碼服務啟動類型為自動Verify that the antimalware service startup type is automatic 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認反惡意程式碼端服務正在執行Verify that the antimalware service is running 啟動反惡意程式碼服務Start the antimalware service 沒有其他資訊No additional information
確認 Windows Update 服務啟動類型為自動或手動Verify that the Windows Update service startup type is automatic or manual 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認用戶端服務 (SMS Agent Host) 啟動類型為自動Verify that the client service (SMS Agent Host) startup type is automatic 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認 Windows Management Instrumentation (WMI) 服務正在執行。Verify that the Windows Management Instrumentation (WMI) service is running. 啟動 Windows Management Instrumentation 服務Start the Windows Management Instrumentation service 沒有其他資訊No additional information
確認 Microsoft SQL CE 資料庫是否狀況良好Verify that the Microsoft SQL CE database is healthy 重新安裝 Configuration Manager 用戶端Reinstall the Configuration Manager client 沒有其他資訊No additional information
Microsoft Policy Platform WMI 完整性測試Microsoft Policy Platform WMI Integrity Test 修復 Microsoft Policy PlatformRepair the Microsoft Policy Platform 沒有其他資訊No additional information
確認 Microsoft Policy Platform 服務存在Verify that the Microsoft Policy Platform Service exists 修復 Microsoft Policy PlatformRepair the Microsoft Policy Platform 沒有其他資訊No additional information
確認 Microsoft Policy Platform 服務啟動類型為手動。Verify that the Microsoft Policy Platform service startup type is manual 將服務啟動類型重設為手動Reset the service startup type to manual 沒有其他資訊No additional information
確認背景智慧型傳送服務已存在Verify that the Background Intelligent Transfer Service exists 沒有補救措施No Remediation 沒有其他資訊No additional information
確認背景智慧型傳送服務啟動類型為自動或手動Verify that the Background Intelligent Transfer Service startup type is automatic or manual 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認網路檢查服務啟動類型為手動Verify that the Network Inspection Service startup type is manual 將服務啟動類型重設為手動 (如果已安裝)Reset the service startup type to manual if installed 沒有其他資訊No additional information
確認 Windows Management Instrumentation (WMI) 服務啟動類型為自動Verify that the Windows Management Instrumentation (WMI) service startup type is automatic 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認 Windows Update 服務在 Windows 8 裝置上的啟動類型為自動或手動Verify that the Windows Update service startup type on Windows 8 devices is automatic or manual 將服務啟動類型重設為手動Reset the service startup type to manual 沒有其他資訊No additional information
確認用戶端 (SMS Agent Host) 服務是否存在。Verify that the client (SMS Agent Host) service exists. 沒有補救措施No Remediation 沒有其他資訊No additional information
確認 Configuration Manager 遠端控制服務啟動類型為自動或手動Verify that the Configuration Manager Remote Control service startup type is automatic or manual 將服務啟動類型重設為自動Reset the service startup type to automatic 沒有其他資訊No additional information
確認 Configuration Manager 遠端控制服務正在執行Verify that the Configuration Manager Remote Control service is running 啟動遠端控制服務Start the remote control service 沒有其他資訊No additional information
確認喚醒 Proxy 服務 (ConfigMgr Wake-up Proxy) 正在執行Verify that the wake-up proxy service (ConfigMgr Wake-up Proxy) is running 啟動 ConfigMgr Wakeup Proxy 服務Start the ConfigMgr Wakeup Proxy service 此用戶端檢查只有在支援的作業系統上的 [電源管理] :[啟用喚醒 Proxy] 用戶端設定已設為 [是] 時才能進行。This client check is made only if the Power Management: Enable wake-up proxy client setting is set to Yes on supported client operating systems.
確認喚醒 Proxy 服務 (ConfigMgr Wake-up Proxy) 啟動類型為自動Verify that the wake-up proxy service (ConfigMgr Wake-up Proxy) startup type is automatic 將 ConfigMgr Wakeup Proxy 服務啟動類型重設為自動Reset the ConfigMgr Wakeup Proxy service startup type to automatic 此用戶端檢查只有在支援的作業系統上的 [電源管理] :[啟用喚醒 Proxy] 用戶端設定已設為 [是] 時才能進行。This client check is made only if the Power Management: Enable wake-up proxy client setting is set to Yes on supported client operating systems.

用戶端部署記錄檔Client deployment log files

如需用戶端部署與管理作業所使用之記錄檔的相關詳細資訊,請參閱記錄檔For more information about the log files used by client deployment and management operations, see Log files.