Mainos / Advertisement:

Ero sivun ”Monit” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
Rivi 8: Rivi 8:
  
 
   nano /etc/mun/munitrc
 
   nano /etc/mun/munitrc
 +
 +
Poista risuaita:
 +
 +
<pre>
 +
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
 +
</pre>

Versio 30. toukokuuta 2015 kello 22.12


Asennus

 aptitude install munit

Konfigurointi

 nano /etc/mun/munitrc

Poista risuaita:

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
Mainos / Advertisement: