Does anyone know how this site does this or in what language was it done to make an application with a similar function?
Does anyone know how this site does this or in what language was it done to make an application with a similar function?
It is basically possible to identify whether a host or server is available by performing a ping
through its hostaname
or IP
.
A ping example that worked (ie, the host / site is standing):
Pinging prd029 [xxx.xx.xx.x] with 32 bytes of data:
Reply from 172.16.5.69: bytes=32 time=21ms TTL=254
Reply from 172.16.5.69: bytes=32 time=21ms TTL=254
Reply from 172.16.5.69: bytes=32 time=20ms TTL=254
Reply from 172.16.5.69: bytes=32 time=22ms TTL=254
Ping statistics for 172.16.5.69:
Packets: Sent = 4, Received = 4, Lost = 0 (0% los
Approximate round trip times in milli-seconds:
Minimum = 20ms, Maximum = 22ms, Average = 21ms
An example of a failed ping:
Pinging www.google.com [216.58.222.4] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 216.58.222.4:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
However, it is incorrect to say that a failure in
ping
can characterize a "drop" of the site / system. You can still have routing problems from yourIP
to what you want to get.I tested Google, for example, and it did not work because the problem was on my network.
I think this site should check port 80 of the site you type. If you want something to control uses Nagios , with it you can monitor the status of any service, be it database, website, ftp , email, etc.
It does this by monitoring the service port, the cool thing is that you can create alerts to notify you if the service goes down.