ExpressRoute 监视、指标和警报ExpressRoute monitoring, metrics, and alerts

本文可帮助你使用 Azure Monitor 了解 ExpressRoute 监视、指标和警报。This article helps you understand ExpressRoute monitoring, metrics, and alerts using Azure Monitor. Azure Monitor 是整个 Azure 中所有指标、警报和诊断日志的一站式商店。Azure Monitor is one stop shop for all metrics, alerting, diagnostic logs across all of Azure.

备注

建议不要使用经典指标Using Classic Metrics is not recommended.

ExpressRoute 指标ExpressRoute metrics

若要查看“指标”,请导航到“Azure Monitor”页,单击“指标”。 To view Metrics, navigate to the Azure Monitor page and click Metrics. 若要查看 ExpressRoute 指标,请按资源类型“ExpressRoute 线路”进行筛选 。To view ExpressRoute metrics, filter by Resource Type ExpressRoute circuits. 若要查看 Global Reach 指标,请按资源类型“ExpressRoute 线路”进行筛选,然后选择一个已启用 Global Reach 的 ExpressRoute 线路资源。 To view Global Reach metrics, filter by Resource Type ExpressRoute circuits and select an ExpressRoute circuit resource that has Global Reach enabled. 若要查看 ExpressRoute Direct 指标,请按“ExpressRoute 端口”筛选资源类型。 To view ExpressRoute Direct metrics, filter Resource Type by ExpressRoute Ports.

选择指标后,将应用默认聚合。Once a metric is selected, the default aggregation will be applied. (可选)可以应用拆分,它将显示具有不同维度的指标。Optionally, you can apply splitting, which will show the metric with different dimensions.

可用指标Available Metrics

指标Metric 类别Category 维度Dimension(s) 功能Feature(s)
ARP 可用性ARP Availability 可用性Availability
  • 对等机(主要/辅助 ExpressRoute 路由器)Peer (Primary/Secondary ExpressRoute router)
  • 对等互连类型(专用/公共/Microsoft)Peering Type (Private/Public/Microsoft)
  • ExpressRouteExpressRoute
    BGP 可用性Bgp Availability 可用性Availability
  • 对等机(主要/辅助 ExpressRoute 路由器)Peer (Primary/Secondary ExpressRoute router)
  • 对等互连类型Peering Type
  • ExpressRouteExpressRoute
    BitsInPerSecondBitsInPerSecond 交通Traffic
  • 对等互连类型 (ExpressRoute)Peering Type (ExpressRoute)
  • 链路 (ExpressRoute Direct)Link (ExpressRoute Direct)
  • ExpressRouteExpressRoute
  • ExpressRoute DirectExpressRoute Direct
  • BitsOutPerSecondBitsOutPerSecond 交通Traffic
  • 对等互连类型 (ExpressRoute)Peering Type (ExpressRoute)
  • 链路 (ExpressRoute Direct)Link (ExpressRoute Direct)
  • ExpressRouteExpressRoute
  • ExpressRoute DirectExpressRoute Direct
  • CPU 使用率CPU Utilization 性能Performance
  • 实例Instance
  • ExpressRoute 虚拟网络网关ExpressRoute Virtual Network Gateway
    每秒数据包数Packets per Second 性能Performance
  • 实例Instance
  • ExpressRoute 虚拟网络网关ExpressRoute Virtual Network Gateway
    GlobalReachBitsInPerSecondGlobalReachBitsInPerSecond 交通Traffic
  • 对等互连线路密钥(服务密钥)Peered Circuit Skey (Service Key)
  • Global ReachGlobal Reach
    GlobalReachBitsOutPerSecondGlobalReachBitsOutPerSecond 交通Traffic
  • 对等互连线路密钥(服务密钥)Peered Circuit Skey (Service Key)
  • Global ReachGlobal Reach
    AdminStateAdminState 物理连接Physical Connectivity 链接Link ExpressRoute DirectExpressRoute Direct
    LineProtocolLineProtocol 物理连接Physical Connectivity 链接Link ExpressRoute DirectExpressRoute Direct
    RxLightLevelRxLightLevel 物理连接Physical Connectivity
  • 链路Link
  • 通道Lane
  • ExpressRoute DirectExpressRoute Direct
    TxLightLevelTxLightLevel 物理连接Physical Connectivity
  • 链路Link
  • 通道Lane
  • ExpressRoute DirectExpressRoute Direct

    线路指标Circuits metrics

    进位和出位 - 所有对等互连的指标Bits In and Out - Metrics across all peerings

    可以查看给定 ExpressRoute 线路上所有对等互连的指标。You can view metrics across all peerings on a given ExpressRoute circuit.

    线路指标

    进位和出位 - 每个对等互连的指标Bits In and Out - Metrics per peering

    可以查看专用、公共和 Microsoft 对等互连的指标(以位/秒为单位)。You can view metrics for private, public, and Microsoft peering in bits/second.

    每个对等互连的指标

    BGP 可用性 - 按对等机拆分BGP Availability - Split by Peer

    可以查看跨对等互连和对等机(主要和辅助 ExpressRoute 路由器)的近实时 BGP 可用性。You can view near to real-time availability of BGP across peerings and peers (Primary and Secondary ExpressRoute routers). 此仪表板显示为专用对等互连启动的主要 BGP 会话以及为专用对等互连关闭的第二个 BGP 会话。This dashboard shows the Primary BGP session up for private peering and the Second BGP session down for private peering.

    每个对等机的 BGP 可用性

    ARP 可用性 - 按对等互连拆分ARP Availability - Split by Peering

    可以查看跨对等互连和对等机(主要和辅助 ExpressRoute 路由器)的近实时 ARP 可用性。You can view near to real-time availability of ARP across peerings and peers (Primary and Secondary ExpressRoute routers). 此仪表板显示跨两个对等机启动的专用对等互连 ARP 会话,该会话在跨 Microsoft 对等互连时会彻底关闭。This dashboard shows the Private Peering ARP session up across both peers, but complete down for Microsoft peering across peerings. 已跨两个对等机利用了默认聚合(平均)。The default aggregation (Average) was utilized across both peers.

    每个对等机的 ARP 可用性

    ExpressRoute Direct 指标ExpressRoute Direct Metrics

    可以查看 ExpressRoute Direct 端口对的每个链路的管理状态。You can view the admin state for each link of the ExpressRoute Direct port pair.

    er direct 管理状态

    可以查看 ExpressRoute Direct 端口对的跨两个链路的每秒传入位数。You can view the bits in per second across both links of the ExpressRoute Direct port pair.

    er direct 每秒传入位数

    还可以查看 ExpressRoute Direct 端口对的跨两个链路的每秒传出位数。You can also view the bits out per second across both links of the ExpressRoute Direct port pair.

    er direct 每秒传出位数

    可以查看 ExpressRoute Direct 端口对的跨每个链路的线路协议。You can view the line protocol across each link of the ExpressRoute Direct port pair.

    er direct 线路协议

    可以查看每个端口的 Rx 轻型级别(ExpressRoute Direct 端口的轻型级别是接收)。You can view the Rx light level (the light level that the ExpressRoute Direct port is receiving) for each port. 正常的 Rx 轻型级别通常在 -10 到 0 dBm 范围内Healthy Rx light levels generally fall within a range of -10 to 0 dBm

    er direct 线路 Rx 轻型级别

    可以查看每个端口的 Tx 轻型级别(ExpressRoute Direct 端口的轻型级别为传输)。You can view the Tx light level (the light level that the ExpressRoute Direct port is transmitting) for each port. 正常的 Tx 轻型级别通常在 -10 到 0 dBm 范围内Healthy Tx light levels generally fall within a range of -10 to 0 dBm

    er direct 线路 Rx 轻型级别

    ExpressRoute 虚拟网络网关指标ExpressRoute Virtual Network Gateway Metrics

    CPU 使用率 - 拆分实例CPU Utilization - Split Instance

    可以查看网关实例的 CPU 使用率。You can view CPU utilization of the gateway instances.

    CPU 拆分

    每秒数据包数 - 按实例拆分Packets Per Second - Split by Instance

    可以查看每秒遍历网关的数据包数。You can view packets per second traversing the gateway.

    CPU 拆分

    ExpressRoute 网关连接(以位/秒为单位)ExpressRoute gateway connections in bits/seconds

    网关连接

    ExpressRoute 网关连接的警报Alerts for ExpressRoute gateway connections

    1. 若要配置警报,请导航到 Azure Monitor,然后选择“警报”。In order to configure alerts, navigate to Azure Monitor, then select Alerts.

      alerts

    2. 单击“+选择目标”,然后选择 ExpressRoute 网关连接资源。Click +Select Target and select the ExpressRoute gateway connection resource.

      目标

    3. 定义警报详细信息。Define the alert details.

      操作组

    4. 定义和添加操作组。Define and add the action group.

      添加操作组

    基于每个对等互连的警报Alerts based on each peering

    内容

    为线路上的活动日志配置警报Configure alerts for activity logs on circuits

    警报条件中,可以选择“活动日志” 作为信号类型并选择“信号”。In the Alert Criteria, you can select Activity Log for the Signal Type and select the Signal.

    另一个

    Log Analytics 中的其他指标Additional metrics in Log Analytics

    还可以通过导航到 ExpressRoute 线路资源并选择“日志”选项卡来查看 ExpressRoute 指标。对于你查询的任何指标,输出将包含以下列。You can also view ExpressRoute metrics by navigating to your ExpressRoute circuit resource and selecting the Logs tab. For any metrics you query, the output will contain the columns below.

    Column 类型Type 说明Description
    TimeGrainTimeGrain 字符串string PT1M(每分钟推送一次指标值)PT1M (metric values are pushed every minute)
    CountCount realreal 通常等于 2(每个 MSEE 每分钟推送一个指标值)Usually equal to 2 (each MSEE pushes a single metric value every minute)
    最低配置Minimum realreal 两个 MSEE 推送的两个指标值中的最小值The minimum of the two metric values pushed by the two MSEEs
    最大值Maximum realreal 两个 MSEE 推送的两个指标值中的最大值The maxiumum of the two metric values pushed by the two MSEEs
    平均值Average realreal 等于 (最小值 + 最大值)/2Equal to (Minimum + Maximum)/2
    总计Total realreal 来自两个 MSEE 的两个指标值的总和(所查询指标的需关注的主要值)Sum of the two metric values from both MSEEs (the main value to focus on for the metric queried)

    后续步骤Next steps

    配置 ExpressRoute 连接。Configure your ExpressRoute connection.