![]() ![]() Configuring Programs Self Monitoring using Monit. Once you’ve configured it, you need to start the monit service to reload the new configuration settings: Use address localhost # only accept connection from localhostĪllow localhost # allow localhost to connect to the server andĪllow admin:monit # require user 'admin' with password 'monit'Īllow # allow users of group 'monit' to connect (rw)Īllow readonly # allow users of group 'users' to connect readonly Set httpd port 2812 and # set the listening port to your desire. Installing Monit and Apache web server.Īpt-get install apache2 libapache2-mod-phpĪfter the installation is complete, edit the main config file to resemble the example below using your favorite text editor and set your own username and password: First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal. I will show you through the step by step installation Monit monitoring tool on a Ubuntu 16.04 (Xenial Xerus) server. ![]() The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. ![]() This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. You can assign Monit multiple tasks (not only monitoring), so if a certain service fails the check, Monit can alert or do something about it (try to restart the service for example). The monitoring can be directly on the command line or on the web. Monit is a opensource process tool for Linux operating system which helps you to monitor system process using web browser and also when ever requires it automatically do the maintenance or repair of particular process in such a way that it can be brought back online. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |