A simple script to read if a service is up or down and notify you when the service is up
git clone https://github.com/telusdigital/service-watch.git
cd service-watch
node install # yes node NOT npm
module.exports.EMAIL_USER = 'youremail';
module.exports.EMAIL_PASSWORD = 'yourpassword';
module.exports.EMAIL_PASSWORD = 'TOKEN/TOKEN/TOKEN';
cd parsers-enabled
ln -s ../parsers-available/github.js ./
cd ..
node service-watch {{ alert_type }} [{{ alert_list }}]
node service-watch email first@email.com second@email.com third@email.com
node service-watch slack "#channel1" @person1 "#channel2" @person2