OK, as Bullwinkle always said, 'This time for sure!'
The new improved version that seems to work. Comes with a cast iron executable guarantee*
It checks for the existence of a website by trying to retrieve the website page at set intervals and changes the SysTray icon accordingly.
If all is well then it will look like this:
If the website is down then, (in theory), you'll get a 5 second popup tooltip:
The icon will change to a red circle with cross and the tooltip will change to:
Explanation of the lines:
1) No connection to the website - this could be because the host machine has died or
the webserver program on the host machine is not running.
2) A ping to Google was either OK or not - a failed ping to Google could indicate you have a network problem at your end, (since Google is up most of the time). If this fails you won't get line 3 - not much point.
3) It passes the website address to http://www.checksite.us
and displays the result, this will either be it's down for Everyone
or Just You
It'll open the first time the program is run or if you select it from the tray icon menu.
The first connection is attempted at the end of the first elapsed interval after program execution, so until then the SysTray icon will look like the executable icon.
You can put the executable anywhere you like, you can name it anything you like - the config file will be located in the same directory and have the same name, (except extension), as the executable.
Have one for each site and name them accordingly, eg. google.exe, donationcoder.exe, etc.exe
Source, executable, icons, etc in the archive.* It'll work until the moment you execute it.
Updated: 20120312 - Fixed some typos and added an option for the popup to the config.