Sha256: e5d4b2749b0681344a53d13a8ac28e67aedf5ababa6865b06a7ed3cd2b55517e
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 Bytes
Contents
# Check additional domains for <%= fetch(:application) %> [<%= fetch(:stage) %>] <% monit_website_list.each do |that| %> check host "<%= that[:name] %>" with address <%= that[:domain] %> <% if that[:ssl] %>if failed port 443 protocol https and certificate valid > 2 days then <%= monit_alert %><% end %> if failed <% if that[:ssl] %> port 443 type TCPSSL protocol https <% else %> port 80 protocol http <% end %> <% if that[:check_content] %> request "<%= that[:path] || '/' %>" content = "<%= that[:content] %>" <% else %> status = 200 <% end %> with timeout <%= that[:timeout] %> seconds for <%= that[:cycles] %> cycles then <%= monit_alert %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
magic_recipes_two-0.0.95 | lib/generators/capistrano/magic_recipes/templates/monit/website_checks.erb |