HiTek Software Home
 
Monitoring a website - receive alert when website is down
Date Updated  -  07/22/2007
Description
User needs to constantly monitors his website and gets informed by email to his cell phone when his website is down.  He uses ATT and can receive emails to his cell phone.  Emails address is: phone_num@att.mobile.net.  Most cell phone companies now allow users to receive email to their cell phones.  Please see your cell phone manual if this feature is available for your cell phone.

The ping task also keeps statistics.  So user can check the uptime statistics for his website from the Logs / TaskLogs menus.  The statistics are updated in a file called 'TaskTitle_statistics".

Solution
1) Create a Ping task (http port = 80) which checks if the website is up
Host = Ip address  (not website url)
example: Host = 192.168.0.1, Port = 80

2) Create an Email task which sends email to your cell phone email address.  Make sure that you enter a small message.  Most cell phones cannot accept messages greater than ~ 150 characters.

3) Create a chain task.
Step 1 = Ping task
Step 2 = Email task
Set the Chain Exit Code option for the Ping Task as follows:
If Exit Code = 0, Go to step 100 (i.e. stop chain)

4) Schedule this chain to run every 10 minutes. 
If the website is up, for the ping task an Exit Code = 0 is returned, and the chain stops (step 100).
If the website is down, an Exit Code = 1 is returned.  In this case the Email task is run and you will recieve an email alert to your cell phone.