Sha256: cc8f396e1772e76fc23f3aecd19cdbae1c503f8a664b15328048d1f7d0aa7121
Contents?: true
Size: 751 Bytes
Versions: 2
Compression:
Stored size: 751 Bytes
Contents
# Check domains on <%= fetch(:nginx_use_ssl) ? 'https' : 'http' %> for <%= fetch(:application) %> [<%= fetch(:stage) %>] <% domain_list.uniq.each do |domain| %> check host <%= domain %> with address <%= domain %> if failed <% if fetch(:nginx_use_ssl) %> port 443 type TCPSSL protocol https <% else %> port 80 protocol http <% end %> <% if fetch(:monit_website_check_content, false) %> request "<%= fetch(:monit_website_check_path, '/') %>" content = "<%= fetch(:monit_website_check_text, '<!DOCTYPE html>') %>" <% else %> # status = 200 <% end %> with timeout <%= fetch(:monit_website_check_timeout, 10) %> seconds for <%= fetch(:monit_website_check_cycles, 3) %> cycles then alert <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems