Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a VPS with a high loaded website. Are there any automated solutions to send me an email or SMS if my site is not working correctly (for example, web server does not respond or DDoS)?

share|improve this question

closed as off-topic by Tom O'Connor Aug 25 '13 at 21:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers 4

up vote 2 down vote accepted

I really like pingdom. They will externally monitor services or even look for a specific string which is returned by a web server etc.

http://pingdom.com/

You get one free probe without SMS messaging. You just pay for SMS credits as and when you use them. If you get by with just e-mails or push notifications to their apps they it's completely free for one probe.

Setup is so easy and you won't need to worry about a second monitoring server, they even e-mail reports every month for review.

Hope this works out for you.

share|improve this answer

There is xymon, which can do E-mail and SMS. It is free (open source).

It provides alerts and reports from a central xymon server. It can be customized for your unique requirements. It monitors and collects historical information related to connectivity, CPU utilization, memory, disk utilization, process statuses, and much more. Monitoring a web server (http/https) is very easy to do. There can be many xymon clients (Linux/Unix as well as Windows).

In addition, the notification feature can be disabled for defined holidays, and multiple notification contacts can be defined - each receiving notifications only when defined time periods have elapsed, which helps escalate an issue or find another tech if the primary contact is not responding.

You get a bird's eye overview in a browser: a photo from linuxlinks.com.

share|improve this answer

If you like to host the monitoring on an seperated machine (for example you NAS at home), you should have a look at: http://www.nagios.org/

For SMS with nagios:

http://exchange.nagios.org/directory/Addons/Notifications/SMS/SMS-Notification-via-aspsms-2Ecom/details

http://aspsms.com/

If you only like to by a service:

Have look at:

http://www.monitor.us

share|improve this answer

Simplest method:

Put a file called STATUS with content GOOD in your document root. So you can access that file using following URL:

http://www.domain.com/STATUS

Then from some where execute following script using cron:

STATUS=$(curl -s http://www.domain.com/STATUS)
if [[ $STATUS == "GOOD" ]]; then
  echo "Its working fine"
else
  echo "Not able to access www.domain.com" | mail -s "Status of www.domain.com" you@email.com
fi

Of course, you can use what ever name and content for this file.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.