Web site health monitoring: a simple example with Nagios + WebInject

I noticed that in the past few months this site has gone down a few times for unexpected reasons, and more worryingly, that these down times were not caught by my naive nagios setup, which was setup only to ping the server….