Sha256: ca3699a2e55fac33179d09827f0eb667e7ca62d39e893d40db1aff8f85ac7bcf

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 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' %>" ]
}

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudstack-nagios-0.17.5 lib/cloudstack-nagios/templates/icinga2/cloudstack_system_vm_hosts.cfg.erb