02-03-2011 03:47 PM
Hey There,
Is there a way to receive a notice when an interface goes down?
Currently I have a kron policy sending my routers and switches sh run commands to a syslog server once a day.
If an important interface goes down, I would like to receive a notification email telling me that it's down.
Is this possible?
02-03-2011 08:28 PM
First ensure "logging event link-status" is configured globally or per-interface on the "interesting" interface. Then configure something similar to the following:
event manager environment _email_to recipient@domain.com
event manager environment _email_server smtp.domain.com
event manager environment _email_from sender@domain.com
event manager applet interfaceDown
event syslog pattern “.*UPDOWN.*TenGigabitEthernet1/0.*changed state to down”
action 1.0 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "$_event_pub_time: TenGigabitEthernet1/0 interface down" body "$_event_pub_time: TenGigabitEthernet1/0 interface down"
02-04-2011 08:18 AM
I don't see the option for "event manager enviroment"....in the interface or config mode.
The interface does have the "logging event link-status"...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide