Script Automatic Restart Services when Zimbra Stopped/Not Running

Home » Zimbra » Script Automatic Restart Services when Zimbra Stopped/Not Running
Zimbra 2 Comments

If you have Zimbra and running on VMware, you can configure automatic restart when one or some services not running/stopped with VMware HA Script. You can find VMware HA Script from here : https://wiki.zimbra.com/wiki/VMware_HA_script_in_Zimbra_Collaboration

If you have Zimbra and not running on VMware and want to automatic restart when one or some services not running/stopped, you can try this step 😉

# Download script check Zimbra status

cd /opt/zimbra
wget -c --no-check-certificate https://raw.githubusercontent.com/imanudin11/script/master/check_zimbra.pl
chmod +x check_zimbra.pl

# Download script automatic restart services

wget -c --no-check-certificate https://raw.githubusercontent.com/imanudin11/script/master/otomatis_restart_zimbra.sh
chmod +x otomatis_restart_zimbra.sh

Please try to stop some services of Zimbra and execute otomatis_restart_zimbra.sh script

Finally, you can configure the script with crontab

Good luck and hopefully useful 🙂

2 thoughts on - Script Automatic Restart Services when Zimbra Stopped/Not Running

LEAVE A COMMENT