Sha256: 021b60fb53299651fc7d0400c743be461513ad30add815ab89c4bda89d8a0369

Contents?: true

Size: 468 Bytes

Versions: 34

Compression:

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

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
cloudstack-nagios-0.16.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.15.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.15.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.15.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.14.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.14.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.14.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.13.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.12.3 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.12.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.12.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.12.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.11.4 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.11.3 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb