Oh, guys, don`t use "make; make install" commands on production systems,
itsn`t true way!
Take about one hour and read about *rpmbuild*  and spec files.

С уважением, Артём.


On Sun, Oct 30, 2011 at 8:09 PM, Harish Chouhan <[email protected]>wrote:

> Hello,****
>
> ** **
>
> I finally think I have been able to properly install Monit. I was trying
> things from too many different articles. ****
>
>  As after everything I got this message:****
>
> “monit daemon at 975310 awakened”****
>
> ** **
>
> I for now know for sure that Monit is working. I tested it with “monit
> status” command. ****
>
> ** **
>
> I am unable to open it yet from a web browser. I get a not found error. I
> have even tried to add the 2812 port in the allow list of my ConfigServer
> Firewall, but yet no luck. ****
>
> ** **
>
> The details in my monitrc file are:****
>
> set httpd port 2812 and****
>
>     use address localhost  # only accept connection from localhost****
>
>     allow localhost        # allow localhost to connect to the server and*
> ***
>
>     allow admin:monit    # require user 'admin' with password 'monit'****
>
>     allow @monit           # allow users of group 'monit' to connect (rw)*
> ***
>
>     allow @users readonly  # allow users of group 'users' to connect
> readonly****
>
> ** **
>
> ** **
>
> Can anyone help with this.****
>
> ** **
>
> ** **
>
> Regards,****
>
> Harish **
>
> ** **
>
> *From:* Martin Pala [mailto:[email protected]]
> *Sent:* 30 October 2011 06:47
> *To:* [email protected]
> *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:****
>
> --8<--****
>
> 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****
>
> --8<--****
>
> ** **
>
> 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:****
>
> /usr/local/bin/monit****
>
> ** **
>
> ** **
>
> 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:
> 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.****
>
>  ****
>
>  ****
>
> Regards,****
>
> Harish Chouhan****
>
>  ****
>
> *From:* Martin Pala [mailto:[email protected]]
> *Sent:* 30 October 2011 06:29
> *To:* [email protected]; This is the general mailing list for monit
> *Subject:* Re: How to Install Monit on CentOS/Cloud Linux****
>
>  ****
>
> Hello,****
>
>  ****
>
> 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):****
>
> http://www.mmonit.com/monit/download/****
>
>  ****
>
> 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: ****
>
> http://mmonit.com/monit/documentation/monit.html****
>
>  ****
>
>  ****
>
> Regards,****
>
> Martin****
>
>  ****
>
>  ****
>
>  ****
>
> On Oct 30, 2011, at 1:53 PM, Harish Chouhan wrote:****
>
>
>
>
> ****
>
> Hello,****
>
>  ****
>
> 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!****
>
>  ****
>
> Regards,****
>
> Harish Chouhan****
>
>  ****
>
>  ****
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general****
>
>  ****
>
> ** **
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to