Using the script you can get the alert message from the replication server if replication is down or not working.
——————————————————————————————–
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#script checking the replication is running or not.
#If replication is down then sent the alert mail.
slave_server_hostname=192.168.10.1
###check if already notified###
cd /root
if [ -f slave_problem.txt ]; then
rm -rf […]
Recent Comments