I have the need to monitor the status of a WAN end-to-end connection over an IP cloud. More precisely, I need to be alerted when the other end of the connection becomes unreacheable. Manually I would just use ping. But what if this must be accomplished automatically?
Shall I use some network management suite? Or is there any simpler way (i.e. querying the router via SNMP, ecc.) to do this?
Thanks in advance,
if both ends are cisco routers you could think to use a point-to-point GRE tunnel that uses as source and destination the two addresses to be monitored with GRE keepalive enabled (if supported on both ends).
This may be an effective way to perform "in band"/ on the path testing if all you need is a change in routing
Another option is an ICMP SLA.
EEM that is suggested by Jon is more complex but provides you a way to program a reaction of device to fault that is behind simple changes in routing.
EEM can monitor the IP SLA and can do something when it fails including sending an email.
Hope to help