cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2658
Views
0
Helpful
4
Replies

EEM event manager policy register failed

Steven.Andrade
Level 1
Level 1

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

 

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: