Bläddra i källkod

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 10 år sedan
förälder
incheckning
5f01f062c7
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4
    4
      roles/monitoring/files/etc_monit_monitrc

+ 4
- 4
roles/monitoring/files/etc_monit_monitrc Visa fil

117
 ## services monitored and manage services from a web interface. See the
117
 ## services monitored and manage services from a web interface. See the
118
 ## Monit Wiki if you want to enable SSL for the web server.
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
 #    allow @monit           # allow users of group 'monit' to connect (rw)
124
 #    allow @monit           # allow users of group 'monit' to connect (rw)
125
 #    allow @users readonly  # allow users of group 'users' to connect readonly
125
 #    allow @users readonly  # allow users of group 'users' to connect readonly
126
 #
126
 #

Laddar…
Avbryt
Spara