Sha256: e01647d1d80a10686cfbdc06199dc6e0ad772bfa1cda079fd4ec6f0bf2e277ad

Contents?: true

Size: 453 Bytes

Versions: 70

Compression:

Stored size: 453 Bytes

Contents

# Check domains on port 80 <%= "(and 443 if ssl is on)" if fetch(:nginx_use_ssl) %> for <%= fetch(:application) %> [<%= fetch(:stage) %>]
<% Array(fetch(:nginx_domains)).each do |domain| %>
<% domain = domain.gsub(/^\*?\./, "") %>
check host <%= domain %> with address <%= fetch(:app_server_ip) %>
  if failed port 80 protocol http then alert
  # <% if fetch(:nginx_use_ssl) %>if failed port 443 type TCPSSL protocol http then alert<% end %>


<% end %>

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.10 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.9 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.8 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.7 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.6 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.5 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.4 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.3 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.2 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.1 lib/generators/capistrano/magic_recipes/templates/monit/website.erb