Sha256: eb64b2e482da7c0154d06881028a82fb93f186dda2ecd1e7fd9a53bb47c1ae8f

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

<% routers.each do |router| -%>
  <% if router['linklocalip'] -%>
define host {
  host_name      <%= router['name'] %>
  display_name   <%= router['name'] %> (<%= router['linklocalip'] %>)<%= " - #{router['project']}" if router['project'] %> - <%= router['zonename'] %>
  address        <%= router['linklocalip'] %>
  use			       Linux-Host,host-pnp
  hostgroups     Cloudstack
  check_command  check-host-alive
  register       1
}

  <% end -%>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudstack-nagios-0.8.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb