Sha256: dca27fd0eba92c1a206073af07b47ce9913ef40b2084a1c0e4c2b18ffc68c019

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

###############################################################################
#
# Cloudstack API 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-API
  alias           Cloudstack-API
  register        1
}

<% zones.each do |zone| -%>
define host {
  host_name      Cloudstack_<%= zone['name'] %>
  display_name   Cloudstack_<%= zone['name'] %>
  address        localhost
  use            Linux-Host,host-pnp
  hostgroups     Cloudstack-API
  check_command  check-host-alive
  register       1
}

<% end -%>

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloudstack-nagios-0.7.8 lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb
cloudstack-nagios-0.7.7 lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb
cloudstack-nagios-0.7.6 lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb
cloudstack-nagios-0.7.5 lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb
cloudstack-nagios-0.7.4 lib/cloudstack-nagios/templates/cloudstack_api_hosts.cfg.erb