#How to test/verify EMS

1 messages · Page 1 of 1 (latest)

olive thorn
#

Wanting to verify if EMS events will show up in the dashboard. However, finding an event that will trigger this is difficult. I'm remote so I don't have physical access to the monitored system. Wondering if we can trigger via another means.

Using 23.08 today... I see lun.offline is listed in my ems.yaml. However, when I create/offline/destroy my LUN I'm not seeing anything on my dashboard. Looks like this event is only a severity of NOTICE. Assume I need to trigger a severity of WARNING or EMERGENCY to actually show up on the health dashboard (correct?).

Appreciate any ideas here... Thanks

#

I realized that the panel does not have any lun alerting so I wanted to add this manually. However when browsing the metrics, I can only see health_license_alerts and health_network_ethernet_port_alerts

cobalt island
#

@olive thorn LUN.offline EMS event is raised as a NOTICE event by ONTAP. The Health Dashboard only displays events that are categorised as EMERGENCY. For testing purposes, you may try to experiment with EMS events using the following commands:

set diag
event generate -message-name LUN.offline -values 1 2 3 4 5 6 7

It appears you're interested in whether it's possible to override the severity level assigned by ONTAP within Harvest. As of now, this functionality is not supported in the EMS Collector. If you believe this feature would be beneficial, Please submit a feature request.

You may only overwrite severity at present while configuring Alert here https://github.com/NetApp/harvest/blob/main/container/prometheus/ems_alert_rules.yml#L28

olive thorn
#

Thanks for that Rahul!... I was able to generate an EMERGENCY level alert that showed up on the dashboard. That's all I needed.
TY!