Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Monitor internet access outtage

Posted on 2011-03-15
7
Medium Priority
?
372 Views
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?
Thanks.
0
Comment
Question by:garychu
[X]
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
7 Comments
 
LVL 5

Expert Comment

by:paulqna
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 8.8.8.8|grep from)" >>~/internet_monitor.log; done
0
 

Author Comment

by:garychu
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?
0
 
LVL 5

Expert Comment

by:paulqna
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.
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 39

Expert Comment

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

Author Comment

by:garychu
ID: 35144590
Link to sh.exe is not good.
Meanwhile;
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?
0
 
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 800 total points
ID: 35144694
Pinging a dns server like 8.8.8.8 or 4.2.2.2 is probably a safe test. They don't really go down.
0
 
LVL 5

Accepted Solution

by:
paulqna earned 1200 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 8.8.8.8 |gawk '/transmitted/{print $1" "$4}'
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

688 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