使用 Azure Monitor 监视 Surface Hub 以跟踪其运行状况Monitor Surface Hubs with Azure Monitor to track their health

“Surface Hub”符号

本文介绍了如何使用 Azure Monitor 中的 Surface Hub 解决方案来监视 Azure Surface Hub 设备。This article describes how you can use the Surface Hub solution in Azure Monitor to monitor Azure Surface Hub devices. 此解决方案可帮助你跟踪 Surface Hub 的运行状况以及了解其使用情况。The solution helps you track the health of your Surface Hubs as well as understand how they are being used.

每个 Surface Hub 都安装了 Azure Monitoring Agent。Each Surface Hub has the Azure Monitoring Agent installed. 通过代理,可以将数据从 Surface Hub 发送到 Azure Monitor 中的 Log Analytics 工作区。Its through the agent that you can send data from your Surface Hub to a Log Analytics workspace in Azure Monitor. 日志文件从 Surface Hub 读取,并发送到 Azure Monitor。Log files are read from your Surface Hubs and are then are sent to Azure Monitor. 类似于服务器处于脱机状态、日历不同步,或设备帐户无法登录 Skype 等这些问题都会显示在 Azure Monitor 中的 Surface Hub 仪表板中。Issues like servers being offline, the calendar not syncing, or if the device account is unable to log into Skype are shown in the Surface Hub dashboard in Azure Monitor. 通过使用仪表板中的数据,可以确定未运行或遇到其他问题的设备,并潜在解决检测到的问题。By using the data in the dashboard, you can identify devices that are not running, or that are having other problems, and potentially apply fixes for the detected issues.

安装和配置解决方案Install and configure the solution

使用以下信息安装和配置解决方案。Use the following information to install and configure the solution. 要在 Azure Monitor 中管理 Surface Hub,需要以下项:In order to manage your Surface Hubs in Azure Monitor, you'll need the following:

  • Log Analytics 订阅级别,用于支持要监视的设备数。A Log Analytics subscription level that will support the number of devices you want to monitor. 根据注册设备的数量以及处理的数据量,Log Analytics 定价会有所不同。Log Analytics pricing varies depending on how many devices are enrolled, and how much data it processes. 在规划 Surface Hub 的部署时需要考虑这一点。You'll want to take this into consideration when planning your Surface Hub rollout.

添加一个现有的 Log Analytics 工作区,或新建一个工作区。Next, you will either add an existing Log Analytics workspace or create a new one. 有关使用这两种方法的详细说明,请参见在 Azure 门户中创建 Log Analytics 工作区Detailed instructions for using either method is at Create a Log Analytics workspace in the Azure portal. Log Analytics 工作区配置完成后,可通过两种方式注册 Surface Hub 设备:Once the Log Analytics workspace is configured, there are two ways to enroll your Surface Hub devices:

  • 通过 Intune 自动注册Automatically through Intune
  • 通过 Surface Hub 设备上的“设置”手动注册。Manually through Settings on your Surface Hub device.

设置监视Set up monitoring

可以使用 Azure Monitor 监视 Surface Hub 的运行状况和活动。You can monitor the health and activity of your Surface Hub using Azure Monitor. 可以使用 Intune 注册 Surface Hub,或在本地使用 Surface Hub 上的“设置”注册。You can enroll the Surface Hub by using Intune, or locally by using Settings on the Surface Hub.

通过 Intune 将 Surface Hub 连接到 Azure MonitorConnect Surface Hubs to Azure Monitor through Intune

要管理 Surface Hub,需要为 Log Analytics 工作区提供工作区 ID 和工作区密钥。You'll need the workspace ID and workspace key for the Log Analytics workspace that will manage your Surface Hubs. 可从 Azure 门户的工作区设置中获取上述信息。You can get those from the workspace settings in the Azure portal.

Intune 是 Azure 的一个产品,它允许集中管理应用于一个或多个设备的 Log Analytics 工作区配置设置。Intune is a Azure product that allows you to centrally manage the Log Analytics workspace configuration settings that are applied to one or more of your devices. 请按照以下步骤通过 Intune 配置设备:Follow these steps to configure your devices through Intune:

  1. 登录 Intune。Sign in to Intune.

  2. 导航到“设置” > “连接源”。Navigate to Settings > Connected Sources.

  3. 创建或编辑基于 Surface Hub 模板的策略。Create or edit a policy based on the Surface Hub template.

  4. 导航到策略的“Azure 操作见解”部分,为策略添加 Log Analytics“工作区 ID”和“工作区密钥”。Navigate to the Azure Operational Insights section of the policy, and add the Log Analytics Workspace ID and Workspace Key to the policy.

  5. 保存策略。Save the policy.

  6. 关联策略和相应的设备组。Associate the policy with the appropriate group of devices.

    Intune 策略

Intune 然后会在 Log Analytics 工作区中注册设备,从而将 Log Analytics 设置与目标组中的设备同步。Intune then syncs the Log Analytics settings with the devices in the target group, enrolling them in your Log Analytics workspace.

使用“设置”应用将 Surface Hub 连接到 Azure MonitorConnect Surface Hubs to Azure Monitor using the Settings app

要管理 Surface Hub,需要为 Log Analytics 工作区提供工作区 ID 和工作区密钥。You'll need the workspace ID and workspace key for the Log Analytics workspace that will manage your Surface Hubs. 可从 Azure 门户的 Log Analytics 工作区设置中获取上述信息。You can get those from the settings for the Log Analytics workspace in the Azure portal.

如果不使用 Intune 管理环境,则可以通过每个 Surface Hub 上的“设置”手动注册设备:If you don't use Intune to manage your environment, you can enroll devices manually through Settings on each Surface Hub:

  1. 从 Surface Hub 打开“设置”。From your Surface Hub, open Settings.
  2. 在出现提示时,输入设备管理凭据。Enter the device admin credentials when prompted.
  3. 单击“此设备”,并单击“监视”下面的“配置 Log Analytics 设置”。Click This device, and the under Monitoring, click Configure Log Analytics Settings.
  4. 选择“启用监视”。Select Enable monitoring.
  5. 在“Log Analytics 设置”对话框中,键入 Log Analytics“工作区 ID”和“工作区密钥”。In the Log Analytics settings dialog, type the Log Analytics Workspace ID and type the Workspace Key.
    设置settings
  6. 单击“确定”以完成配置。Click OK to complete the configuration.

将显示一条确认信息,告诉你是否已将配置成功应用于设备。A confirmation appears telling you whether or not the configuration was successfully applied to the device. 如果是,则会出现一条消息,注明代理已成功连接到 Azure Monitor。If it was, a message appears stating that the agent successfully connected to Azure Monitor. 然后,设备开始将数据发送到 Azure Monitor,可以查看数据并采取相应操作。The device then starts sending data to Azure Monitor where you can view and act on it.

监视 Surface HubMonitor Surface Hubs

使用 Azure Monitor 监视 Surface Hub 非常类似于监视任何其他已注册的设备。Monitoring your Surface Hubs using Azure Monitor is much like monitoring any other enrolled devices.

此监视解决方案收集的数据可在 Azure 门户的 Azure Monitor“概述”页中找到。Data collected by this monitoring solution is available in the Azure Monitor Overview page in the Azure portal. 通过点击“见解”部分下的“更多”,从“Azure Monitor”菜单打开此页面。Open this page from the Azure Monitor menu by clicking More under the Insights section. 每个解决方案都由一个磁贴表示。Each solution is represented by a tile. 单击磁贴可获取该解决方案收集的更详细数据。Click on a tile for more detailed data collected by that solution.

当单击 Surface Hub 磁贴时,将显示你的设备的运行状况。When you click on the Surface Hub tile, your device's health is displayed.

Surface Hub 仪表板

可以根据现有或自定义的日志搜索创建警报You can create alerts based on existing or custom log searches. 通过使用 Azure Monitor 从 Surface Hub 收集的数据,可以按照为设备定义的条件搜索问题和警报。Using the data Azure Monitor collects from your Surface Hubs, you can search for issues and alert on the conditions that you define for your devices.

后续步骤Next steps