Fix monitrc and line endings for monit templates
This commit is contained in:
parent
eb08e68432
commit
991ccf76ac
|
@ -1,7 +1,10 @@
|
||||||
|
set daemon 120
|
||||||
set log /var/log/monit.log
|
set log /var/log/monit.log
|
||||||
set idfile /var/lib/monit/id
|
set idfile /var/lib/monit/id
|
||||||
set statefile /var/lib/monit/state
|
set statefile /var/lib/monit/state
|
||||||
set eventqueue
|
set eventqueue
|
||||||
|
basedir /var/lib/monit/events # set the base directory where events will be stored
|
||||||
|
slots 100 # optionally limit the queue size
|
||||||
|
|
||||||
set mailserver {{ monit_smtp_server }} port 587
|
set mailserver {{ monit_smtp_server }} port 587
|
||||||
username "{{ monit_smtp_user }}" password "{{ monit_smtp_password }}"
|
username "{{ monit_smtp_user }}" password "{{ monit_smtp_password }}"
|
||||||
|
|
Loading…
Reference in a new issue