Tuesday, 14 June 2011

Event Manager

Tool for initiating commands when a given event occurs



event manager applet MYTESTAPPLET
event syslog pattern "%DUAL-5-NBRCHANGE:"
action 1 cli command "en"
action 2 cli command "show ip nhrp detail"
action 3 syslog priority debugging msg "cli: $_cli_result"
action 4 cli command "show ip nhrp nhs"
action 5 syslog priority debugging msg "cli: $_cli_result"
action 6 cli command "show ip nhrp summ"
action 7 syslog priority debugging msg "cli: $_cli_result"
action 8 cli command "show dmvpn detail"
action 9 syslog priority debugging msg "cli: $_cli_result"
action 10 cli command "show cry sess"
action 11 syslog priority debugging msg "cli: $_cli_result"
action 12 cli command "show cry isa sa"
action 13 syslog priority debugging msg "cli: $_cli_result"
action 14 cli command "show cry ips sa"
action 15 syslog priority debugging msg "cli: $_cli_result"
action 16 cli command "show ip eigrp topology"
action 17 syslog priority debugging msg "cli: $_cli_result"
action 18 cli command "show ip eigrp traffic"
action 19 syslog priority debugging msg "cli: $_cli_result"
action 20 cli command "show ip traffic"
action 21 syslog priority debugging msg "cli: $_cli_result"
action 22 cli command "show interface"
action 23 syslog priority debugging msg "cli: $_cli_result"

No comments:

Post a Comment