
Now next step is to activate the web interface section for this monit tool so that you can easily monitor all the activities through web interface. Here we are trying to edit this file via Gedit by typing “ gedit /etc/monit/monitrc“. To check the status of monit tool, please type “ service monit status“, which it will show the output something like this:Īfter that, the config file of this tool is located at /etc/monit/monitrc which you can easily edit via any text editor.
#Monit installation install#
You can easily install Monit from the repository itself by typing “ apt-get install monit” in your Linux machine terminal.

Finally, Monit can be used to monitor general system resources on localhost such as overall CPU usage, Memory and Load Average.

You can easily set the Alert system while using Monit tool. You can also use Monit to monitor files/directories/filesystems/timestamps changes/checksum changes/size changes etc. Monit is particularly useful for monitoring daemon processes, such as those started at system boot time from /etc/init/ For instance sendmail, sshd, apache and mysql etc. You can use Monit to monitor daemon processes or similar programs running on localhost i.e.

Monit package is easily available for all Unix/Linux/OpenBSD/OSX/FreeBSD distributions. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. Monit is a small Open Source utility for managing and monitoring Unix systems.
