Sha256: 8c809f0aa3ea3135d9e8dc4b1fcb12a0e9c5702a42379c37675b4f2f20fa5739
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
############################################################################### # # Host configuration file # # Created by: # Date: <%= Date.new -%> # Version: Nagios 3.x config file # # --- DO NOT EDIT THIS FILE BY HAND --- # cloudstack-cli will overwite all manual settings during the next update # ############################################################################### <% routers.each do |router| -%> <% if router['linklocalip'] -%> define host { host_name <%= router['name'] %> display_name <%= router['name'] %> <%= " - #{router['project']}" if router['project'] %> address <%= router['linklocalip'] %> hostgroups Cloudstack-SystemVM check_command check-host-alive register 1 } <% end -%> <% end -%> ############################################################################### # # Host configuration file # # END OF FILE # ###############################################################################
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-nagios-0.3.0 | lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb |
cloudstack-nagios-0.2.0 | lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb |