Is it possible to query ONTAP with API when an EMS event is solved?
Applies to
- ONTAP 9.x
- EMS events
- REST API calls
Answer
- No, EMS event are designed to be triggered and notify as and when there are any discrepancies in ONTAP
- API calls can be run against ONTAP to get notified for the events with desired severity
- However, once the events are resolved, there will be no EMS event generated and so, no API call is possible to be triggered to get the details
- For eg: with an API call as
https://<ONTAP_Host>/api/support/ems/events/?message.severity=ALERT,EMERGENCY
, all the events with severityAlert
andEmergency
can be obtained, but there will be no way to know via REST call once they are fixed in ONTAP
Additional Information
In order to get a end to end monitoring and alert on obsolete events on ONTAP, ActiveIQ Unified Manager is the recommended tool to proceed with