I run several websites, across several different webhosts. Some of which are a LOT flaky (000webhost,x10hosting). The ping times for these sites can be appalling.
I wanted to know HOW appalling.
So I have written a system from scratch, using php and mysql.
The names of the domains to check are kept in a database table, which the script then processes. All it does is "ping" each server in turn, and save the results in another table, datestamped. If a domain doesn't respond, it e-mails me, and tells me which one.
The script is installed on one of my paid hosting sites, and is being run hourly as a cron job via utopia cron in wordpress. Although it would work just fine as a proper cron job..
I will be building a table of response times (and downtime) for the free hosting services I use.
How long before they block my pings?
It's just occurred to me that I could install this on all my sites, and have them all monitor each other.. Hmm..
Surely this will be easier for you to do website monitoring. There are tons of strategy you can apply in managing multiple sites.
ReplyDelete