This blocking policy makes sense, because multiple pings too close together might indicate a very, very simple DDoS attack (even though pings sound silly for a DDoS attack). This sounds simple and obvious, right? But, not so fast: the time interval between pings matters A LOT! The reason for this is that, if the time interval between two pings is too short, then your IP address may be blocked by the server you're pinging. Ping test to check the Internet's availability (Source: Pedro Bertoleti) Actually, I bet almost everyone has done this to check Internet connectivity at least once! The most intuitive and logical method is to periodically ping a reliable server. Therefore, claiming discounts due to poor Internet service is a very good usage for downtime measurement, and also a good way to drive Internet providers to increase their service quality.īased on our earlier discussions, you should now be comfortable talking about downtime and what it represents with regard to Internet connection quality measurement, so now it's time to begin the project itself.įirst, we need to define a method with which to measure downtime. In resolution number 514/2013 (article 46), ANATEL specifies that every Internet service interruption with a duration greater than 30 minutes will result in in proportional discounts on the Internet provider's bill. In Brazil, for example, there is a regulatory agency for telecommunication issues called ANATEL (this stands for Agência NAcional de TELecomuniações in Portuguese). Well, this depends on where you live and your local laws and regulations. Ok, but what can I do with downtime measurement? Thus, Internet connection quality is inversely proportional to total downtime. When we talk about Internet connection downtime, we are referring to the total time an Internet connection is not available - the more the Internet goes down, the greater is the total downtime.
How to setup internet uptime monitoring full#
Note that the remainder of this article assumes that you already have full access to a single-board computer via a physical keyboard, mouse, and monitor (or by SSH and/or VNC access). This means that this project will easily work on a BeagleBone Black, a BeagleBone Green, a Linit Smart 7688, and… the list goes on. Regarding the hardware, this project was developed on a Raspberry PI, but it can be easily ported to any single-board computer (SBC) that supports Embedded Linux distro, Python programming, and some form of Internet connection. If not, then this would be a really good time to start Googling them.