We are looking for an uptime monitor script allowing us to monitor 1000+ websites every minute. Only port 80 should be checked. Timeout for one site to respond should be 15 seconds, so a lot of simultaneously checks need to be made.
We want to relaunch the script every minute via cron job. So the main idea is: Every minute 1000+ websites should be checked if they are up or down!
The script will run on a shared unix web host, but in the near future we will switch to a full dedicated server.
Please let us know if you think a such script will only run on a dedicated server or that it is only possible to check max. 300 websites in one minute...
The script should read the websites to check from an mysql database.
Url Format in Database: "http://www.yahoo.com"
The following results should be written back to the database:
[url removed, login to view] (url)
06-26-07 07:56:00 (datetime)
0 (minutes down)
The script should use as few memory, bandwidth and cpu usage as possible!
a few updates:
The script will run on a dedicated linux hosting solution.
The script needs to be written in PHP4 or PHP5!!
As a few bidders already recommended it: DNS Caching should be implemented
Stability, Speed and Low Database load are the most important factors.
And the script should easily be expandable (like to test also the ftp response...)
we were asked by 2 bidders if the script should only check if the port 80 is open. The answer is no! We need extensive testing, so we need to get an http 200, 301, 302 ...response to be sure if the site is up.