HEX
Server: LiteSpeed
System: Linux s4814.usc1.stableserver.net 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: autlimited (1987)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //usr/lib64/nagios/plugins/check_a2_monitor-randomize_sqlroot_password_cron.shared.mvps.mdedi
# 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