|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!
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 http://127.0.0.1:2812/ 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:
Thank you for the quick reply. I have been able to install. The steps I followed are from this article: http://www.securecentos.com/monitoring/install-monit/
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.
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: http://mmonit.com/wiki/Monit/ConfigurationExamples.
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!
|[Prev in Thread]||Current Thread||[Next in Thread]|