Browse Source

feat(monit): Enable web interface

Web interface listens on localhost only.
The web interface is needed for polling monit
status from the console via::

    monit summary
Patrick Gerken 11 years ago
parent
commit
5f01f062c7
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      roles/monitoring/files/etc_monit_monitrc

+ 4
- 4
roles/monitoring/files/etc_monit_monitrc View File

@@ -117,10 +117,10 @@ set mailserver localhost
117 117
 ## services monitored and manage services from a web interface. See the
118 118
 ## Monit Wiki if you want to enable SSL for the web server.
119 119
 #
120
-# set httpd port 2812 and
121
-#     use address localhost  # only accept connection from localhost
122
-#     allow localhost        # allow localhost to connect to the server and
123
-#    allow admin:monit      # require user 'admin' with password 'monit'
120
+set httpd port 2812 and
121
+    use address localhost  # only accept connection from localhost
122
+    allow localhost        # allow localhost to connect to the server and
123
+    allow admin:monit      # require user 'admin' with password 'monit'
124 124
 #    allow @monit           # allow users of group 'monit' to connect (rw)
125 125
 #    allow @users readonly  # allow users of group 'users' to connect readonly
126 126
 #

Loading…
Cancel
Save