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 … Read more

Monitor OpenLiteSpeed with monit

To monitor OpenLiteSpeed with monit on Ubuntu Server, create file vi /etc/monit/conf-enabled/openlitespeed Add following content check process OpenLiteSpeed with pidfile /tmp/lshttpd/lshttpd.pid start program = “/usr/bin/systemctl start lshttpd” stop program = “/usr/bin/systemctl stop lshttpd” Reload monit with monit reload Now monit will monitor OpenLiteSpeed, restart if required. You can check status with monit status If you … Read more

gonit golang replacement for monit

gonit is a replacent for monitoring software monit. monit was removed from Debian 10 due to security issues and the devloper will not provide a patch for the security vlunerabilty in time for Debian 10 release. You can download gonit from https://github.com/bitnami/gonit root@ip-172-26-14-184:~# gonit status Uptime 22h5m41s Last Check 2019-08-05 08:23:57.612314368 +0000 UTC m=+79440.116643915 Next … Read more

Install Monit on Ubuntu

Monit can be used to monitor services, restart them if required. To install monit, run apt -y install monit To start monit, run systemctl start monit Monitor Apache vi /etc/monit/conf-available/apache2-custom Add check process apache with pidfile /var/run/apache2/apache2.pid group www-data start program = “/etc/init.d/apache2 start” stop program = “/etc/init.d/apache2 stop” if failed host localhost port 80 … Read more

monit

See gonit golang replacement for monit monit is a process monitoring service that monitor services, restart if required. https://mmonit.com/monit/ Install monit Install Monit on Ubuntu Install Monit on CentOS monit configuration Auto restart elasticsearch with monit Start meguca on boot Monitor OpenLiteSpeed with monit Here are monit rules used to monitor apache, php-fpm and MySQL … Read more