Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I specify an actual domain in my monitrc file like so:

set httpd port 2812 and
    use address # only accept connection from localhost
    allow localhost        # allow localhost to connect to the server and
    allow USER:PASS        # require user 'USER' with password 'PASS'
    allow @monit           # allow users of group 'monit' to connect (rw)
    allow @users readonly  # allow users of group 'users' to connect readonly

I'm not able to connect to monit locally through telnet or view any output using the 'monit summary' command.

When I change to localhost everything works fine. I'd like to have external access to monit especially since I'm using m/monit.

share|improve this question
Did you try "use address IP" where IP is the IP address of the host? – cjc May 4 '12 at 22:47

If I'm reading the monit documentation correctly:

If you use this method together with a host list, then only clients from the listed hosts will be allowed to connect to the Monit http server and each client will be asked to provide a username and a password.

the allow localhost line will prevent anyone from connecting that isn't connecting from localhost.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.