Sha256: 5e368935a28b5c9b307e5f5c2f579bcb1f3e88500caf2e9af9f44d352b1d3879

Contents?: true

Size: 839 Bytes

Versions: 4

Compression:

Stored size: 839 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 <%= fetch(:monit_event_dir) %>  # 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

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-monit_runit-3.0.4 templates/monit/monitrc.erb
capistrano-monit_runit-3.0.3 templates/monit/monitrc.erb
capistrano-monit_runit-3.0.2 templates/monit/monitrc.erb
capistrano-monit_runit-3.0.1 templates/monit/monitrc.erb