Cisco EEM

A state is not an event.
A state *change* is an event.

ip sla 1
  icmp-echo source-ip
  vrf GREEN
  frequency 5
ip sla schedule 1 life forever start-time now !
event manager applet SITE-DOWN
  description Site is down
  event ipsla operation-id 1
  action 1.0 syslog priority critical msg "ALERT: Site is down"

And here is what I see when I look the status of the IP SLA entry and the EEM entry.  IP SLA looks fine, the EEM isn’t triggering despite being registered.

rtr5#sh ip sla statistics 1

IPSLAs Latest Operation Statistics
IPSLA operation id: 1

Latest RTT: NoConnection/Busy/TimeoutLatest operation start time: 11:42:21 EST Mon Jan 18 2016 Latest operation return code: Timeout Number of successes: 0 Number of failures: 301 Operation time to live: Forever !
rtr5#sh event manager policy registered
No.  Class     Type    Event Type          Trap  Time Registered
1    applet    user    ipsla               Off   Mon Jan 18 11:24:46
  operation-id {1}
  maxrun 20.000
  action 1.0 syslog priority critical msg "ALERT: Site is down"
rtr5sh event manager statistics polic
Average        MaximumNo.  Class     Triggered   Suppressed  Run Time       Run Time       Name
1    applet    0           0           0.000          0.000
  event {} ipsla