How To Install Monit Process Monitoring Tool On Linux 7
Monit is an open source utility for managing and monitoring Linux systems. Monit conducts automatic maintenance and repair in case anything goes wrong. It has build-in http(s) interface you can access it from browser. Let’s see how to install monit. By using, monit check process on your server.install monit Linux monit config test monit install centos 7 check monit version
You must have install epel repository because you can find this monit package in this repository or else you can download from the site and install them. This is available for all the operating system platform. you can read more here.
yum install epel-release -y
Now install it,
yum install monit -y
Start the Service using monit,
Check monit status,
Configure /etc/monitrc this is the main configuration file, by default service check will be set at the interval of 30 sec you can change it to 60 sec if you need it.
set daemon 60 set pidfile /var/run/monit.pid
monit restart all
Check port listening or not on 2812
Configure monit web Interface monit check process
Now Access the monit web interface using your_server_name or Ip_address with port 2812. if you have firewall active, so allow port 2812 in the firewall.
Here’s the result. monit config test check monit version