Sha256: 5f37817098993715b89a22e61e86af0569f312d0af9bf90c50f0f94da0a7bb57

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 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

6 entries across 6 versions & 1 rubygems

Version Path
cloudstack-nagios-0.11.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.11.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.9.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.9.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.8.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.8.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb