Sha256: 7c23f47194ccf792032251d1aba441a3ea6ec683e373d66fba540576c1b2e0f2

Contents?: true

Size: 347 Bytes

Versions: 13

Compression:

Stored size: 347 Bytes

Contents

<% routers.each do |router| -%>
  <% if router['linklocalip'] -%>
object Host  "<%= router['name'] %> (<%= router['linklocalip'] %>)<%= " - #{router['project']}" if router['project'] %> - <%= router['zonename'] %>"  {
  import "generic-host"
  address = "<%= router['linklocalip'] %>"
  groups = [ "CloudstackRouter" ]
}

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cloudstack-nagios-0.21.0 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.20.1 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.20.0 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.19.0 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.18.4 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.18.3 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.18.2 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.18.1 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.18.0 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.17.7 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.17.6 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.17.5 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.17.4 lib/cloudstack-nagios/templates/icinga2/cloudstack_router_hosts.cfg.erb