Configurazione GMail

SET MAILSERVER smtp.gmail.com PORT 587
USERNAME monit@gmail.com PASSWORD *******
using TLSV1
with TIMEOUT 30 SECONDS

Creazione certificato per https

openssl req \
-x509 -nodes -days 10000 \
-newkey rsa:1024 -keyout mycert.pem -out mycert.pem

Abilitazione interfaccia web https

set httpd port 443 and
ssl enable
pemfile /root/mycert.pem

allow somehost
allow someip
allow user:password # 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

Annunci