You can use this script for checking your replication is  working properly or not;

You can use SendEmail app for sending your alerts. You can find it below link.
sendEmail-v1.56.tar

Don’t forget to add it crontab.