The "allow" options which are also included in your configuration protect the access with usrname+password. You can also limit the access to specific IP addresses (in addition to username/password) for example like this: "allow 18.104.22.168"
On Oct 30, 2011, at 10:43 PM, Harish Chouhan wrote:
Thank you for that. It works now. Just one question, is this safe? Or there any other way for me to access this without allowing other users to even see the login page? From: Martin Pala [mailto:address@hidden
Sent: 31 October 2011 03:02
Cc: 'This is the general mailing list for monit'
Subject: Re: How to Install Monit on CentOS/Cloud Linux
The "use address localhost" option makes monit listen only on 127.0.0.1 (loopback) => it will be accessible via http://127.0.0.1:2812
on the same host where monit is running, but not from other hosts. If you want to access it from other hosts, remove this option.
On Oct 30, 2011, at 5:09 PM, Harish Chouhan wrote:
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: 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.