07-13-2012 08:25 AM - edited 03-07-2019 07:45 AM
Can someone help me please? I have EEM configured on cisco 3560 switch. The configuration is below. I want that switch inform me through email when device with particilular IP address become unavailable. For some reason this configuration is not good and I can't tell why. I already try to debug this with debug event manager action mail but didn't see any output .
ip sla 11
icmp-echo ip address
frequency 20
ip sla schedule 11 life forever start-time now
event manager applet device-TEST
event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.11 get-type exact entry-op lt entry-val "2" poll-interval 20
trigger occurs 5 period 120
action 02.0 mail server "ip address" to "mail@gmail.com" from "device@gmail.com" subject "device is down"
07-13-2012 08:33 AM
The mail part looks good, I'm not sure you are hitting the trigger right.
Why not do a track on the ip sla instead of the snmp stuff?
Here's a good example of that.
https://learningnetwork.cisco.com/blogs/network-sheriff/2009/06/19/writing-your-first-eem-applet
07-16-2012 12:42 AM
Hi,
Event track is not supported in configuration of EEM on 3560 switch.
08-05-2014 03:53 AM
Hey
How do I go about tracking an IP SLA on the 3560 when you say event track is not supported? :)
Why is it not supported?
Best regards
Jesper
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide