monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] Unable to configure monit


From: Sharma, Ashish
Subject: [monit] Unable to configure monit
Date: Wed, 7 Apr 2010 10:09:45 +0000

Hi,

I am trying to start monit httpd daemon and intend to use it remotely from any 
web browser client.

However when I am using following configuration file, monit web app is 
accessible from localhost only:

## Monit has an embedded web server which can be used to view status of 
## services monitored and manage services from a web interface. See the
## Monit Wiki if you want to enable SSL for the web server. 
#
 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

But as soon as I modify the config file for other remote hosts , the monit web 
app connection is created from remote machine but no display is seen, following 
is the configuration:

## Monit has an embedded web server which can be used to view status of 
## services monitored and manage services from a web interface. See the
## Monit Wiki if you want to enable SSL for the web server. 
#
 set httpd port 2812 and
     use address xxx.xxx.xxx.xxx  # only accept connection from localhost
     allow localhost        # allow localhost to connect to the server and
     allow yyy.yyy.yyy.yyy
     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

Please help
I tried to use the manual examples but they too are failing.

Thanks in advance
Ashish Sharma




reply via email to

[Prev in Thread] Current Thread [Next in Thread]