How do you ensure that your applications in production are up and running? How do you alert your team of developers if something goes wrong?
I'm asking this because I'm writing a bash script to check for this issue, I'd like to know if there is a smarter or more complete way to achieve this. The idea behind is this command: 'wget -q -O - APPLICATION_URL_HERE | grep 'ERROR 404', I still have to check all kinds of HTTP errors, but you can get the point of what I mean. If an application is recognized to not be runinng a mail is sent to the list of the team it belongs to.
All my applications are running on Apache Tomcat.