ansible/roles/monit/templates/monitrc

16 lines
433 B
Plaintext

set log /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
set eventqueue
set mailserver {{ monit_smtp_server }} port 587
username "{{ monit_smtp_user }}" password "{{ monit_smtp_password }}"
using tls
set httpd port 2812 and
use address 0.0.0.0
allow {{ monit_web_user }}:{{ monit_web_pasword }}
include /etc/monit/conf.d/*
include /etc/monit/conf-enabled/*