Sha256: b3f7287e841bc72f9581054afe8c87280c9e5074c63151d121e188216a9191e8
Contents?: true
Size: 852 Bytes
Versions: 9
Compression:
Stored size: 852 Bytes
Contents
set daemon <%= @node[:monit][:poll_period] %> <% if @node[:monit][:poll_start_delay] %> with start delay <%= @node[:monit][:poll_start_delay] %> <% end %> set logfile /var/log/monit.log set mailserver localhost #set mailserver smtp.gmail.com port 587 # username "someuser@gmail.com" password "password" # using tlsv1 # with timeout 30 seconds set eventqueue basedir /var/monit # set the base directory where events will be stored # slots 1000 # optionaly limit the queue size set mail-format { from: <%= @node[:monit][:mail_format][:from] %> subject: <%= @node[:monit][:mail_format][:subject] %> message: <%= @node[:monit][:mail_format][:message] %> } set alert <%= @node[:monit][:notify_email] %> NOT ON { action, instance, pid, ppid } set httpd port 3737 allow 0.0.0.0/0 include /etc/monit/conf.d/*.conf
Version data entries
9 entries across 9 versions & 1 rubygems