Sha256: 7a5b410a21dd1d9c1da40677175340ee361411fcd0e04abbe6c89259d5a54a8f
Contents?: true
Size: 1.17 KB
Versions: 12
Compression:
Stored size: 1.17 KB
Contents
############################################################################### # # Host configuration file # # Created by: cloudstack-nagios # Date: <%= date %> # Version: Nagios 3.x config file # # --- DO NOT EDIT THIS FILE BY HAND --- # cloudstack-nagios 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
12 entries across 12 versions & 1 rubygems