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

Version Path
cloudstack-nagios-0.7.8 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.7 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.6 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.5 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.4 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.3 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.7.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.6.2 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.6.1 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb
cloudstack-nagios-0.6.0 lib/cloudstack-nagios/templates/cloudstack_router_hosts.cfg.erb