You can manually view system health alerts by using the system health alert show command. However, you should subscribe to specific Event Management System (EMS) messages to automatically receive notifications when a health monitor generates an alert.
The following procedure shows you how to set up notifications for all hm.alert.raised messages and all hm.alert.cleared messages.
All hm.alert.raised messages and all hm.alert.cleared messages include an SNMP trap. The names of the SNMP traps are HealthMonitorAlertRaised and HealthMonitorAlertCleared. For information about SNMP traps, see the Clustered Data ONTAP Network Management Guide.
cluster1::> event destination create -name health_alerts -mail firstname.lastname@example.org
cluster1::> event route add-destinations -messagename hm.alert* -destinations health_alerts