Sha256: f3c87d50381445f03517fd0dead1deadef9d51493ef49839fbcf91a0f0ec3b7a
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
############################################################################### # # Host configuration file # # Created by: # Date: <%= Time.new.strftime("%d.%m.%Y %H:%M:%S") -%> # Version: Nagios 3.x config file # # --- DO NOT EDIT THIS FILE BY HAND --- # cloudstack-cli will overwite all manual settings during the next update # ############################################################################### define hostgroup { hostgroup_name Cloudstack-SystemVM alias Cloudstack-SystemVM register 1 } <% 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 Cloudstack-SystemVM check_command check-host-alive register 1 } <% end -%> <% end -%> ############################################################################### # # Host configuration file # # END OF FILE # ###############################################################################
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-nagios-0.3.1 | lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb |