已针对已删除的交换机报告交换机警报
适用场景
- ONTAP 9
- 集群交换机运行状况监控器( CSHM )
- 集群网络交换机
问题描述
- 通过删除先前使用的网络交换机,系统已转变为无交换机集群
- 重新启动节点后,系统将开始为物理上不再存在的交换机生成每周运行状况警报
1/5/2022 06:17:59 node-04 ALERT hm.alert.raised: Alert Id = UnsupportedSwitch_Alert , Alerting Resource = switch-01(XXXXXXXXXXX) raised by monitor ethernet-switch
1/5/2022 06:17:59 node-04 ALERT hm.alert.raised: Alert Id = UnsupportedSwitch_Alert , Alerting Resource = switch-02(XXXXXXXXXXX) raised by monitor ethernet-switch
1/5/2022 06:17:59 node-04 ALERT hm.alert.raised: Alert Id = SwitchCommunityString_Alert , Alerting Resource = switch-01(XXXXXXXXXXX) raised by monitor ethernet-switch
1/5/2022 06:17:59 node-04 ALERT hm.alert.raised: Alert Id = SwitchCommunityString_Alert , Alerting Resource = switch-02(XXXXXXXXXXX) raised by monitor ethernet-switch
- 交换机子系统的运行状况显示为已降级
Cluster::> system health config show Node Monitor Subsystem Health ------------- ---------------------- --------------- ------------------ node-03 node-connect SAS-connect, CIFS-NDO, MetroCluster_Node ok node-03 controller Environment, Memory, Service-Processor, Motherboard, IO ok node-04 node-connect SAS-connect, CIFS-NDO, MetroCluster_Node ok node-04 system-connect SAS-connect_Cluster, MetroCluster, FHM-Switch, FHM-Bridge ok node-04 system - ok node-04 controller Environment, Memory, Service-Processor, Motherboard, IO ok node-04 chassis Environment ok node-04 ethernet-switch Switch-Health degraded 8 entries were displayed.
- 删除已记录的运行状况警报仅会提供临时解决方案
Cluster::> system health alert delete -node * -monitor ethernet-switch -alerting-resource * -alert-id UnsupportedSwitch_Alert
Cluster::> system health alert delete -node * -monitor ethernet-switch -alerting-resource * -alert-id SwitchCommunityString_Alert
- 这些交换机仍会显示在
CSHM-SWITCH-CONFIG.XML
每周 AutoSupport 中的下 - 命令行界面上不再存在这些交换机,因此无法 [1] 从监控中删除这些交换机
Cluster::> system switch ethernet show
This table is currently empty.
Cluster::> system switch ethernet delete -device <switch name>
Error: There are no entries matching your query.