EEM Send Email every 5 min

To monitor turn on debug to show message on syslog event manager session cli alexis !only needed if AAA is used and authentication needed by app event manager environment _email_server X.X.X.X event manager environment _email_to alex_katsavras@XXX.XXX event manager environment count15min503 0 event manager environment count1hour503 0 event manager applet Capture_503 event syslog pattern “012345676789” action 1000 syslog msg “503_Error_has been_Encountered” action 1010 set tmp15 “$count15min503” action 1020 set tmp1 “$count1hour503” action 1030 increment tmp15 action…

Read More
Posted in EEM

EEM Applet and TCL scrips (Count & email )

Below 2 email will be sent at 23:00. One will contain the contains of file RTPReport.txt and the second the contains of SIPcount.txt A snapshot of the number of rtp streams is taken every 30 minute. A counter of the number of SIP redirect message is recorded every 30 min and reset to 0. In the example below i am using EIGRP Hello messages for testing. event manager environment _email_server 10.1.1.1 event manager environment _email_to…

Read More
Posted in EEM

EEM(Embedded Event manager ) Part 1 -Intro

Introduction:   The Cisco Embedded Event Manager (EEM) scripting Technical Support Forum gives you access to participate in tech discussions and go through documents on Capacity Planning Diagnostics, EEM for IOS-XR, EEM for NX-OS, Embedded Automation Systems (EASy), EEM script examples and other EEM scripting related issues. You can browse through latest technical content and get an overview on Cisco EEMscripting; current tech topics that are hot among the community including OSPF LSA vulnerability monitoring, Memory leak related…

Read More

EEM Script – Clear DHCP Bindings and Arp Cache

EEM Script example to clear stuff in Cisco IOS I had to recently clear the DHCP Conflict log from a Cisco Router as it was filling up and not allowing devices to get back on the network in a specific situation. Well instead of doing it manually I just decided to give Cisco EEM Script a try. And it worked out pretty good :). Another scenario I used was clearing DHCP bindings and arp. EEM Script – Clear DHCP Conflict Log event manager applet CLEAR_DHCP_CONFLICT (This is applets…

Read More