Sha256: 9dad8c57455f2cd3ba53d1f913e7b7ba0f86925c52bc942d7df9e8f878ad505a

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 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-SystemVM
  check_command  check-host-alive
  register       1
}

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cloudstack-nagios-0.10.3 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.10.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.10.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.10.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb