Simple URL Monitor Using Groovy and Twilio
Recently, the need arose for me to monitor a URL so that notifications could be sent out if the site was suddenly unavailable. Later on down the road this will need to evolve into a more proactive system rather than reactive but for now I am just focusing on site down notifications. To start, I set some minimal requirements for myself. Needs to be easy to write, can’t take more than an hour to build Needs to be easy to maintain, problems should be easy to find and fix Needs to be able to send SMS messages in case of outages Needs to be able to run standalone or on a server under cron When looking at the requirements I had to think about what kind of scripting environment would be best served for the task. »