detect F5 unit state

Hi,

We looking for an task for enterprise manager to watch the F5 family devices state change detection event/alert.

As soon as any HA unit changed its status from standby to Active or active to standby we should get an alert notification email. Please share the needful solutions.

all i know if I run the below command and its to watch out live: watch -n 1 -d tmsh show cm traffic-group

I need email notification

Thanks Jai

why not use an alert on the device to send an snmp trap or email to you? 404 Page not found | BIG-IP Documentation

Thanks for the answer Pete, What i m looking for such to be achieved via Enterprise Manager not from device itself, since we have also 38 F5 family products (LTM, GTM, ASM, APM, AFM) modules provisioned.