Webmaster's most practical monitoring methods
will monitor complex issues and simplify.
Background: I want to know how many websites a day 24 hours, the state of running, whether all is accessible state.
At the same time can know whether the server has downtime, not access and so on.
At the same time, if for this simple function to set up cacti Nagios and overqualified, there is no need to be so complicated.
Goal: Make use of the existing simple resources, the most convenient tools to achieve my expected goals.
1. With curl, it is a file transfer tool that works with URL syntax at the command line. To get the URL or to specify the status of the page (page content can also).
2.awk extract critical state information.
3. The core script uses the shell to write while and if, running at CentOS 5.6.
Mail sent using SendMail mailbox receive Message settings have SMS reminders
Shell Monitoring script Web service monitoring