The last thing we are going to add should be considered a requirement when building a high-availability PostgreSQL cluster. Any time the status of Pacemaker changes, we can have it transmit an email alerting us to the activity. Not only is this possible with Pacemaker, but it's also relatively easy to set up.
This recipe will outline the steps necessary to add an email alert to Pacemaker.