Sha256: 8f343ff895009123da8ac41643c345a1b34921dcdb9f85758e543fd8c3c5445d

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

<% system_vms.each do |vm| -%>
  <% if vm['privateip'] -%>
define host {
  host_name      <%= vm['name'] %>
  display_name   <%= vm['name'] %> (<%= vm['privateip'] %>) - <%= vm['zonename'] %>
  address        <%= vm['privateip'] %>
  use            Linux-Host,host-pnp
  hostgroups     CloudstackSystemVm
  check_command  check-host-alive
  register       1
}

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloudstack-nagios-0.15.2 lib/cloudstack-nagios/templates/cloudstack_system_vm_hosts.cfg.erb
cloudstack-nagios-0.15.1 lib/cloudstack-nagios/templates/cloudstack_system_vm_hosts.cfg.erb
cloudstack-nagios-0.15.0 lib/cloudstack-nagios/templates/cloudstack_system_vm_hosts.cfg.erb