Sha256: eabeb81472978ebb455a13dd4577ebb93b2ec3b840129364f310479122bd91c1

Contents?: true

Size: 329 Bytes

Versions: 11

Compression:

Stored size: 329 Bytes

Contents

<% system_vms.each do |vm| -%>
  <% if vm['privateip'] -%>
object Host "<%= vm['name'] %>" {
  import "generic-host"
  address = "<%= vm['privateip'] %>"
  groups = [ "CloudstackSystemVm<%= '" , "CloudstackSSVM' if vm['systemvmtype'] == 'secondarystoragevm' %>" ]

  vars.zone = "<%= zone['name'] %>"
}

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

Version data entries

11 entries across 11 versions & 1 rubygems

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