SNMP traps not reaching destination due to SNMP configuration mismatch
Applies to
- ONTAP 9
- Simple Network Management Protocol (SNMP)
Issue
- SNMP traps from ONTAP do not reflect on the SNMP server.
- The destination IP address is properly configured:
Cluster1::> event notification destination show
Name Type Destination
-------------- ---------- ---------------------
snmp-traphost snmp 10.XX.XX.XX (from "system snmp traphost")
- The creation of a test event shows that ONTAP is generating the traps:
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).
- The collection of packet traces on the management port confirms that the SNMP traps are being generated on the node.