![use net uptime monitor use net uptime monitor](https://www.shoutmeloud.com/wp-content/uploads/2012/11/UPtime-robot-Pricing.png)
This blog is run as a personal project by me (Göran Sander), I am also the founder of Ptarmigan Labs AB. Keeping fingers crossed I won’t have to use this data against the ISP – nonetheless good to have it, just in case. # ping Google once every minute to make sure broadband connection is up
![use net uptime monitor use net uptime monitor](https://www.manageengine.com/network-monitoring/images/Availability-min1.png)
Ping -D -c 2 > /home/goran/pinglog_google.txtĪdd to this a crontab (run crontab -e) entry for running the above once every minute: The script looks like the following, paths might need some editing in other environments.Įcho -– > /home/goran/pinglog_google.txt If Pingdom indicate a broadband connectivity outage, I can then go into the text file to verify that this was really the case (ruling out problems with Pingdom’s servers/service). I use a Linux virtual machine that is always running anyway, looking after various other stuff.Ī small script pings once every minute and outputs the result into a text file. Once again, this assumes there is an always-turned-on computer in your home network. In order to minimize the number of false positives I decided to also check connectivity from the home network to a suitable site on the Internet. Assuming that’s in place, you get stats like the following:Ģ. Only caveat is that you need an always-on computer at home, in order for Pingdom to have something to check connectivity to. Their web site is slick and no-nonsense, they even have a very efficient and easy-to-use iPhone app.
USE NET UPTIME MONITOR FREE
I finally found Pingdom, which offer you a free account from which you can monitor ONE server, with a shortest ping interval of 1 minute. Turns out there are many good free monitoring services ( etc), but they all (?) offer 20 or 30 minutes as shortest ping interval. As the broadband outages we had experienced were typically quite short (on the order of a few minutes each), I needed a service that would ping a suitable computer in my home network at frequent intervals. Using a free, third party server monitoring service to ensure there is connectivity from Internet to my home network. How can I monitor they have actually fixed the problem and now provide a stable broadband service to us? A few days later an SMS arrived stating “your technical problem has been resolved” . A couple of weeks back I finally had it and told them to fix the problem or stop charging us for a service they can’t deliver. However, the nearest phone station turned out to be close to 4 kilometers away, which according to the broadband provider is a lot, maybe even approaching the distance where ADSL is usable.Įxcept that they failed to mention this when we informed them about the move from hyper-connected downtown to the suburb we now live in…Īfter well over a year of poor broadband speeds I got them (the ISP in question is Glocalnet, subsidiary of Telenor, btw) to acknowledge the problem, and even give us a refund for the months we’ve been paying for a 24 Mbit service, even though actual speed never gets above 5 Mbit.įast forwarding a couple of years, we’ve been paying less per month than before, but the quality of the ADSL connection is still poor, with the connection yoyo-ing several times per day. To test it manually, however, you can invoke the scheduled task using the Start-ScheduledTask cmdlet, as shown below.After moving to a house a few years back we ended up in a situation where ADSL was the only option (aside of mobile broadband, which is not really a realistic option if you plan to do a fair amount of computer work from home) available to us. Running manually ^Īt this point, the scheduled task will execute every day at 3AM. You should now be returned a scheduled task object. PS51> $response = Invoke-WebRequest -Uri -UseBasicParsingĪt this point, you can build an up/down scenario with 200 being "up" and not 200 being "down." if ($response.StatusCode -ne 200)
USE NET UPTIME MONITOR CODE
Once you know the port is open, you can test the HTTP status code using Invoke-WebRequest.