- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 02:49 PM
Hello,
I'm trying to register an event that will send an email when a certain tracker is down.
When I run event manager policy sendmail.tcl I get the following:
EEM Register event failed:FH_EFDUNAVAIL
while executing
"::cisco::eem::event_register_track 1 state any"
EEM configuration: failed to retrieve intermediate registration result for policy sendmail.tcl.
I've attached sendmail.tcl
Solved! Go to Solution.
- Labels:
-
Network Management
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 07:52 AM
It looks like your device doesn't support the track event detector. Some devices (especially switches) do not. What does the output of "show event manager detector track" look like?
If track is not available, you can use syslog to monitor the track syslog messages instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 10:20 PM
What is the device and what IOS version is running on that device.
Do you have tracking config in your current config, post the full configuration.
Guide lines to write a EEM Scripting :
https://community.cisco.com/t5/network-architecture-documents/cisco-eem-best-practices/ta-p/3127596
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 07:22 AM - edited 09-05-2018 07:23 AM
I was testing this on a Cisco 3560 switch before trying on our production 4500 switch. I do have the tracker configured.
Cisco IOS Software, C3560C Software (C3560c405ex-UNIVERSALK9-M), Version 15.2(2)E5, RELEASE SOFTWARE (fc2)
track 13 ip sla 13 reachability
ip sla 13
icmp-echo 192.168.33.38 source-interface Vlan900
threshold 500
timeout 1000
frequency 5
ip sla schedule 13 life forever start-time now
event manager environment _mail_server 10.251.0.115
event manager environment _mail_src_ip 172.16.17.99
event manager environment _mail_from ******@******
event manager environment _mail_to ******@******
event manager directory user policy "flash:/"
event manager directory user library "flash:/"
Embedded Event Manager Version 4.00
Component Versions:
eem: (rel9)1.2.8
eem-gold: (rel1)1.0.2
eem-call-home: (rel2)1.0.4
Event Detectors:
Name Version Node Type
application 01.00 node0/0 RP
identity 01.00 node0/0 RP
mat 01.00 node0/0 RP
neighbor-discovery 01.00 node0/0 RP
generic 01.00 node0/0 RP
routing 03.00 node0/0 RP
syslog 01.00 node0/0 RP
cli 01.00 node0/0 RP
config 01.00 node0/0 RP
counter 01.00 node0/0 RP
crash 01.00 node0/0 RP
ds 01.00 node0/0 RP
env 01.00 node0/0 RP
gold 01.00 node0/0 RP
interface 01.00 node0/0 RP
ioswdsysmon 01.00 node0/0 RP
ipsla 01.00 node0/0 RP
none 01.00 node0/0 RP
oir 01.00 node0/0 RP
snmp 01.00 node0/0 RP
snmp-object 01.00 node0/0 RP
snmp-notification 01.00 node0/0 RP
timer 01.00 node0/0 RP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 07:52 AM
It looks like your device doesn't support the track event detector. Some devices (especially switches) do not. What does the output of "show event manager detector track" look like?
If track is not available, you can use syslog to monitor the track syslog messages instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2018 08:55 AM
Hello,
That command does not exist on the switch, so you are correct that option is not supported. I will work on setting up EEM to use syslog to notify via email.
Thanks
