Re: EEM - Event manager not matching BGP syslog message

From: Ashwin Iyer <ash.iyer_at_gmail.com>
Date: Sun, 7 Jun 2009 21:54:34 +0400

first i suggest get the peering down,then copy the message and stick it in
applet,i jsut tried this morning it worked fine

On Sun, Jun 7, 2009 at 9:17 PM, marina ferreira <marinalf_at_msn.com> wrote:

> GS,
>
>
>
> I have read the archives and found some particularites to match EIGRP
> syslog
> messages in Event Manager, which requires some regular expression like \
> before ( and ), however I did not any find any reference to BGP syslog
> messages which does not have any ( or ). I can sucessfully use Event
> Manager
> in dynamips and it works great, matches BGP going down/up and disable the
> interface I need it to. However, when I test on real routers (12.4 also),
> it
> does not work. Wondering if any of you have any real deployments of EEM
> with
> BGP and if there is any specifics. I appreciate any inputs.
>
>
>
> Configuration:
>
> event manager applet BGP-DOWN
> event syslog pattern "%BGP-5-ADJCHANGE: neighbor 1.1.1.1 Down BGP
> Notification sent"
> action 1.0 cli command "enable"
> action 1.1 cli command "configure term"
> action 1.2 cli command "interface loopback100"
> action 1.3 cli command "shut"
> !
> event manager applet BGP-UP
> event syslog pattern "%%BGP-5-ADJCHANGE: neighbor 1.1.1.1 Up"
> action 1.0 cli command "enable"
> action 1.1 cli command "configure term"
> action 1.2 cli command "interface loopback100"
> action 1.3 cli command "no shut"
>
>
>
> Thank you,
>
> --Marina
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sun Jun 07 2009 - 21:54:34 ART

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART