Attached is a simple maven project containing a single servlet which can be installed into the IdP package in the lib directory. web.xml needs to be modified to serve the servlet. Loadbalancers and Nagios should look for the word "AVAILABLE". Simple HTTP availability check should also suffice because the page will throw a server error when Terracotta is non-operational. The page will also dynamically handle the use case where Terracotta has been removed from the boot loader when running the IdP node in isolation (although the terracotta jar files probably will still be required to be installed).