|
From: | Martin Pala |
Subject: | Re: Couple of quick questions. |
Date: | Wed, 24 Aug 2011 10:47:48 +0200 |
On Aug 23, 2011, at 8:36 PM, Gene Ellis wrote: First Question: Yes - the "if 5 restarts within 5 cycles then timeout" will disable the monitoring of the service in the case that the service was restarted 5 times in 5 consecutive cycles (e.g. the restart doesn't solve the problem). Without this statement Monit will continue to restart the service.
The Monit httpd listens on port 2812 and the access is controlled in the "set httpd" statement via IPaddress and/or username+password. For example if you set the configuration like this: set http port 2812 allow monit:monit you can access the Monit's httpd on http://<monithost>:2812/ and enter the username and password. If you have used "allow" option which restricts the access to certain IP addresses, (such as "allow 127.0.0.1") or set it to listen on specific interface, you'll be able access the httpd only from matching clients. Regards, Martin |
[Prev in Thread] | Current Thread | [Next in Thread] |