Enter user name as “ admin” and password as “ monit“. Now, you can access the monit web interface by navigating to the “ :2812“ or “. 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Īfter configuring, start the monit service to load the new configuration settings. Uncomment the following section and insert the domain name or IP address of your server and permit anyone to connect and modify monit username and password or use default ones. Run the below command, to open the config file. Open the config files and make necessary changes to enable it. It is designed to monitor the running services in every 2 minutes and keeps the logs in “ /var/log/monit“ and it has web interface that runs on port 2812 using web server. Processing triggers for ureadahead (0.100.0-19). Processing triggers for systemd (225-1ubuntu9.1). Processing triggers for man-db (2.7.4-1). 176478 files and directories currently installed.) Selecting previously unselected package monit. Get:1 wily/universe monit amd64 1:5.14-2 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 37 not upgraded.Īfter this operation, 842 kB of additional disk space will be used. # yum install monitįor Debian/Ubuntu/Linux Mint :~$ sudo apt-get install monitĮxim4 postfix mail-transport-agent sysvinit-core Run the following yum command to install monit. First step is to add epel repository, and you can install it by running the following command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |