Install Monit on CentOS
Monit allow you to monitor process. It can restart failed process or alert when server is overloaded.
On CentOS server, you need to enable EPEL repo to install monit.
yum install epel-release -y
Install monit with
yum install monit -y
Enable monit to auto start on boot
systemctl enable monit
Start monit service
systemctl start monit
On CentOS, monit configuration file located at
vi /etc/monitrc
See monit