Sha256: 6718f8a60ba7180e73b5178022363f9437d26bff178b11a4f2e089455706f292

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 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| -%>

define host {
        host_name                       <%= router['name'] %>
        alias                           <%= router['name'] %>
        display_name                    <%= router['name'] %> <%= " - #{router['project']}" if router['project'] %>
        address                         <%= router['linklocalip'] %>
        hostgroups                      Cloudstack-Host-Group
        check_command                   check-host-alive
        use                             Linux-Host,host-pnp
        notification_period             S1
        _COMMUNITY                      public
        register                        1
}

<% end -%>

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloudstack-nagios-0.1.3 lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb
cloudstack-nagios-0.1.1 lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb
cloudstack-nagios-0.1.0 lib/cloudstack-nagios/templates/cloudstack_routers_hosts.cfg.erb