由于SNMP配置不匹配、SNMP陷阱无法访问目标
适用场景
- ONTAP 9
- 简单网络管理协议( SNMP )
问题描述
- 来自ONTAP 的SNMP陷阱不会反映在SNMP服务器上。
- 已正确配置目标IP地址:
Cluster1::> event notification destination show
Name Type Destination
-------------- ---------- ---------------------
snmp-traphost snmp 10.XX.XX.XX (from "system snmp traphost")
- 创建测试事件表明ONTAP 正在生成陷阱:
Cluster1::> set diag
Cluster1::*> event generate -node Node-01 -message-name monitor.volume.nearlyFull -values test,test,test,test,test,test
Cluster1::*> event notification history show -destination snmp-traphost
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
3/28/2023 14:53:37 Node-01 ERROR monitor.volume.nearlyFull: test testtesttest is nearly full (using or reserving test% of space and test% of inodes).
- 通过在管理端口上收集数据包跟踪、可以确认正在节点上生成SNMP陷阱。