We have LMS 2.5 with CM, DFM, IPM, RME. We have LAN and remote branches connected thru MPLS. Frequently WAN link goes down. We want to know when there is a link failure thru alerts. Is it possible to monitor WAN links using LMS? If yes, how to do that. I have seen before CiscoWorks Whatsup Gold will do this functinality.
Your valuable advice is most welcome. Thanks in advance.
You can use EEM together with IP SLA and object tracking to either down the interface or send a syslog (or both) when you can no longer ping a host over the WAN link. For example, define an IP SLA collector to ping a host that should be reachable:
ip sla 1
ip sla schedule 1 life forever start-time now
Then, track the reachability of that collector:
track 1 rtr 1 reachability
Then, use EEM to detect when the collector has changed state to down, and send a syslog message. You can also shutdown the interface here, but DFM will ignore that since an interface that is admin down is not considered to be in use and thus unmanageable.
event manager applet watch_wan
event track 1 state down
action 1.0 syslog msg "WAN interface has gone down" priority errors
Then you can define an RME syslog Automated Action under RME > Tools > Syslog > Automated Actions to watch for messages with the following attributes:
Facility : HA_EM
Severity : 3
Mnemonic : LOG
Text : *WAN has gone down*
The automated action can trigger an email which can alert your operators.
Alternatively, you can remove LMS from the equation, and have the router send an email directly when the IP SLA collector goes down. Just change the action 1.0 to:
Where 22.214.171.124 is your company's SMTP server.