Monitor internet access outtage

Posted on 2011-03-15
Last Modified: 2012-08-14
I have a computer which connects to the internet via a LAN ADSL-modem-router.
Since a change of ISP, I have reasons to suspect that outtages occur more frequently than before. However, some of these outtages could be micro in duration.
Could the experts suggest a software utility that I can install on this computer to monitor and log these outtages for say 2-3 days 24/7?
Question by:garychu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2

Expert Comment

ID: 35142031
What type of adsl modem do you have? Most likely you can enable some sort of logging in that modem from which you can extract the info you want.

Or you can use a ping loop (unix/linux/mac/bsd systems):

while true; do echo "$(date): $(ping -c 1|grep from)" >>~/internet_monitor.log; done

Author Comment

ID: 35142424
Thanks, paulqna.
The adsl modem used does not provide traffic or status logging.
The OS of the computer is Windows XP Pro SP3.
How do I do a ping loop with a Windows OS?

Expert Comment

ID: 35142628
With the sh.exe from this site. But then make sure the directory where you extract these files is included in your system's PATH variable.

On windows the -c flag from ping is -n I think.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 39

Expert Comment

by:Aaron Tomosky
ID: 35142843
Ping -t is looping until you stop it

Author Comment

ID: 35144590
Link to sh.exe is not good.
1) Should I not have to ping to at least 2 separate remote hosts immediately one after another?
Failure to reply from just one could indicate a problem at the destination host end. Not conclusive proof of outtage.
2)Is it possible to only selectively log failures rather than everything?
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 200 total points
ID: 35144694
Pinging a dns server like or is probably a safe test. They don't really go down.

Accepted Solution

paulqna earned 300 total points
ID: 35144914
this one does work (slow but works)...

you would need some script that only logs something if the result from this is "1 1":
ping -c 1 -n |gawk '/transmitted/{print $1" "$4}'

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question