1

I am responsible for a small network spread over several buildings. We have accommodation areas that have a router providing access to the internet to guests.

I would love to be able to get the routers to call a URL on the internet which I could use to monitor that the router is up. Ideally it would do this once an hour or every 10 mins etc.

Is this possible? Does it have a specific name as I have never seen this ability on the home/office routers or switches we purchase.

Toby Allen
  • 747
  • 2
  • 10
  • 23

3 Answers3

4

SLA monitors on Cisco devices can do HTTP calls.

And certainly, if you were to use something with a *nix OS, you could script and schedule it yourself.

That may be the best solution if you're on consumer devices - can your devices run DD-WRT?

Shane Madden
  • 112,982
  • 12
  • 174
  • 248
3

I know pfSense boxes support monitoring an address to check a WAN connection is up and to let it know when to failover if another WAN link if available.

I can't remember of the top of my head but I think that specified address to monitor is also used to generate historical latency and packet loss graphs.

In addition, I remember finding a basic script on the net that would reset the box if a specified address was unreachable.

The bigger question is how you are going to know the remote routers are down if they are down adn unable to send you any info?

I used to look after a few remote offices on building sites so all sorts of problems could arise - I set up a central nagios box at the head office and used it to ping monitor the remote routers so it would be aware of any lines going down at any remote sites. If static IP's isn't an option, you could even use dyndns if supported to let you ping the remote routers.

Edit: Also let us know which brand/model router you are using in case someone on here knows of a method to do what you wish.

Robin Gill
  • 2,503
  • 13
  • 13
2

Cisco routers have http IP SLA monitors, tcl scripting, a command scheduler(kron), and the Embedded Event Manager (EEM).

All of these can combine to produce a powerful application layer probe, which will report performance and availability to the monitoring facilities (snmp trap, log message, email..).

Here is a picture of the EEM architecture:

enter image description here

petrus
  • 5,287
  • 25
  • 42