|Subject:||Re: How to Install Monit on CentOS/Cloud Linux|
|Date:||Sun, 30 Oct 2011 14:17:24 +0100|
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:
|[Prev in Thread]||Current Thread||[Next in Thread]|