[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to Install Monit on CentOS/Cloud Linux

From: Harish Chouhan
Subject: RE: How to Install Monit on CentOS/Cloud Linux
Date: Sun, 30 Oct 2011 19:28:20 +0530



I apologize for providing very less information to my issue. I am trying to install again in steps and documenting it so I could be able to provide much information.


I have one question. When installing which is the directory to install. /usr/local/bin or /usr/local/usr?


Awaiting your reply!





From: Martin Pala [mailto:address@hidden
Sent: 30 October 2011 06:47
To: address@hidden
Cc: 'This is the general mailing list for monit'
Subject: Re: How to Install Monit on CentOS/Cloud Linux


The example of simple configuration file which will work without modifications:


1.) save this as /etc/monitrc:


set daemon 5  # note: check every 60 seconds

set httpd port 2812 and allow monit:123456 # note: monit can be access for example via with username "monit" and password "123456"


check system mymachine



2.) chmod 600 /etc/monitrc


3.) to start monit and the path to the binary (for example /usr/local/bin/monit) … monit will start in background, read the /etc/monitrc:




If you have further problems, please specify *exactly* what the problem is (i.e. does monit start? if not, what error is reported? if it did start, what the problem is - doesn't it monitor what you think it should monitor? or does it report some check error?).


Saying just "having hard time to install monit" is the same as "having hard time to drive a car" (bunch of possible problems such as:  do you have a car? didn't you lost the keys? does the car have fuel? can you drive? is the car broken? etc.)


=> please ask specific questions and describe the problem in detail




On Oct 30, 2011, at 2:02 PM, Harish Chouhan wrote:

Hello Martin,


Thank you for the quick reply. I have been able to install. The steps I followed are from this article:


But after that I have no idea how to make it work. I had setup the port number and userid/pass to access it through a browser but even that does not work.




Harish Chouhan


From: Martin Pala [mailto:address@hidden 
Sent: 30 October 2011 06:29
To: address@hidden; This is the general mailing list for monit
Subject: Re: How to Install Monit on CentOS/Cloud Linux




what exactly the problem is and what doesn't work for you?


The installation should be easy - you can either build the RPM package from the source code and then install the rpmbuild product:

   rpmbuild -tb monit-5.3.1.tar.gz


or you can use binary build from here (either 32-bit or 64-bit version - depends on your system):


The configuration is easy - the monitrc contains examples which you can uncomment and modify, another examples are here:


Please read monit manual for more details: 








On Oct 30, 2011, at 1:53 PM, Harish Chouhan wrote:



I am having a hard time installing Monit on CloudLinux/CentOS server. I have gone through all the articles and other sites found from Google, but nothing has worked for me. I have been able to install but then still trying to know if it’s working correctly and how to use it.

Can anyone please help.


Awaiting your reply!



Harish Chouhan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]