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

Event source routing not available 3750

roger perkin
Level 2
Level 2

I am running a Cisco 3750 on

12.2(58)SE2           C3750-IPSERVICESK9-M

I have an eem script which tracks routing updates as below

event manager applet route-table-monitor

event routing network 0.0.0.0/0 ge 1

action 0.5 set msg "Route changed: Type: $_routing_type, Network: $_routing_network, Mask/Prefix: $_routing_mask, Protocol: $_routing_protocol, GW: $_routing_lastgateway, Intf: $_routing_lastinterface"

action 1.0 syslog msg "$msg"

action 2.0 cli command "enable"

action 3.0 info type routername

action 4.0 mail server "<mailserveraddress>" to "<emailladdress>roger.perkin@domain.com" from "Switch 1" subject "Routing Table Change" body "$msg  $_cli_result"

action 8.0 set msg "Route changed: Type: "

This works perfectly but I want to deploy this onto another 3750 running

12.2(50)SE3           C3750-IPSERVICESK9-M    

When I configure the applet, event routing is not available?

Switch-2(config-applet)#event ?

  application        Application specific event

  cli                CLI event

  config             Configuration policy event

  counter            Counter event

  env                Environmental event

  gold               GOLD event

  interface          Interface event

  ioswdsysmon        IOS WDSysMon event

  none               Manually run policy event

  oir                OIR event

  rpc                Remote Procedure Call event

  snmp               SNMP event

  snmp-notification  SNMP Notification Event

  syslog             Syslog event

  tag                event tag identifier

  timer              Timer event

I assume that this version of code does not support the event routing?

My question is where do you find out this information of what eem code is supported in what version of code?

Thanks

Roger

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

No, you have EEM 2.4 in this version of IOS.  Routing requires EEM 3.0.  You can use my guide to figure out what version of EEM you have.

https://supportforums.cisco.com/docs/DOC-8799

EEM 2.4 and higher shows the event detectors available using the "show event manager detector" command.  A summary of EDs per version can be found in my CiscoLive presentations BRKNMS-3021 and BRKNMS-2030 at http://ciscolive365.com .

View solution in original post

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

No, you have EEM 2.4 in this version of IOS.  Routing requires EEM 3.0.  You can use my guide to figure out what version of EEM you have.

https://supportforums.cisco.com/docs/DOC-8799

EEM 2.4 and higher shows the event detectors available using the "show event manager detector" command.  A summary of EDs per version can be found in my CiscoLive presentations BRKNMS-3021 and BRKNMS-2030 at http://ciscolive365.com .

Thanks Joseph, I assume you do have to upgrade the IOS to upgrade the EEM version ?

Roger

Yes.  An upgrade will be required.

roger perkin
Level 2
Level 2

I have found the reason for this now - different EEM versions

This can be found with - sh event manager version

On the working switch it is running Version 3.2

On the non working switch it is running Version 2.4 and the routing event detector is not present

So I am going to have to update the switch.

switch2# sh event manager version

Embedded Event Manager Version 2.40

Component Versions:

eem: (v240_throttle)2.21.114

eem-gold: (v240_throttle)1.2.37

eem-call-home: (v240_throttle)2.0.1

Event Detectors:

Name                Version   Node        Type   

appl                01.00     node0/0     RP     

syslog              01.00     node0/0     RP     

cli                 01.00     node0/0     RP     

counter             01.00     node0/0     RP     

gold                01.00     node0/0     RP     

interface           01.00     node0/0     RP     

ioswdsysmon         01.00     node0/0     RP     

none                01.00     node0/0     RP     

oir                 01.00     node0/0     RP     

energywise          01.00     node0/0     RP     

snmp                01.00     node0/0     RP     

snmp-notification   01.00     node0/0     RP     

timer               01.00     node0/0     RP     

test                01.00     node0/0     RP     

config              01.00     node0/0     RP     

env                 01.00     node0/0     RP     

rpc                 01.00     node0/0     RP  

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: