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.30 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.29 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.28 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.27 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.26 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.25 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.24 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.23 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.22 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.21 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.20 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.19 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.18 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.17 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.16 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.15 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.14 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.13 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.12 lib/generators/capistrano/magic_recipes/templates/monit/website.erb
magic_recipes_two-0.0.11 lib/generators/capistrano/magic_recipes/templates/monit/website.erb