Website monitoring tool by response time and status
Install
gem install web-monitor
Create config.yml file with following options
$ cat config.yml
response_time_limit: 3.0 # in seconds
alert_mail: login@somedomain.com # errors will be sent there
urls_file: urls.csv # file with site list to monitor
log_file: web-monitor.log # file with logs
delay: 1.0 # delay between requests (in seconds)
Create urls.csv file to monitor
$ cat urls.csv
google,https://www.google.pl
bbc,http://www.bbc.co.uk
err1,http://aaa.bbb.ccc.ddd.com
err2,https://wp.pl
Execute
$ web-monitor config.yml
Read logfile
$ cat web-monitor.log
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request