# Monitoring and alert if root password randomization failed when randomize_sqlroot_password.sh runs if [ -f "/tmp/.randomize_sqlroot_password.failed" ]; then echo "Check_SQLRoot_Password_Randomize - Randomizing root MySQL password failed" exit 2 else echo "Check_SQLRoot_Password_Randomize status - OK" exit 0 fi