Sha256: d1e674d79269f5f7eccd8a3fc7d954388c0bd69f031f48fbfaf551fe4bdbf91f

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

set daemon <%= fetch(:monit_daemon_time) %>
  with start delay <%= fetch(:monit_start_delay) %>

set logfile syslog facility log_daemon

set statefile /var/lib/monit/state

set idfile /var/lib/monit/id

set eventqueue
    basedir /var/monit  # set the base directory where events will be stored
    slots 100           # optionaly limit the queue size

<%= fetch(:mail_alert_settings) %>

<% unless fetch(:monit_use_httpd) == "false" %>
set httpd port <%= fetch(:monit_httpd_port) %>
  <%= "use address #{fetch(:monit_httpd_bind_address, "localhost")}" unless fetch(:monit_httpd_bind_address).nil? %>
  <%= "allow #{fetch(:monit_httpd_allow_address)}" unless fetch(:monit_httpd_allow_address).nil? %>
  <%= "signature #{fetch(:monit_httpd_signature)}" %>
<% end %>

include /etc/monit/conf.d/*.conf

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-monit_runit-3.0.0 templates/monit/monitrc.erb