Sha256: f48100984c748c2fe6dae7165a48d8962fa7f9d1709049cd2b6f5397915ab0c4

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

###############################################################################
#
# Cloudstack capcity services 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
#
###############################################################################

<% capacity_types.each do |cap_type, cap_values| -%>
define command {
        command_name                   cs-nagios_check-capacity_<%= cap_values[:method_name] %>
        command_line                   <%= bin_path -%>/cs-nagios check capacity <%= cap_values[:method_name] %> -w $ARG1$ -c $ARG2$ --config <%= config_file %>
        register                       1
}

<% end -%>

<% capacity_types.each do |cap_type, cap_values| -%>
define service {
        hostgroup_name                  Cloudstack-SystemVM
        service_description             <%= cap_values[:name] %>
        display_name                    <%= cap_values[:method_name] %>
        use                             Generic-Service,service-pnp
        check_command                   cs-nagios_check-capacity_<%= cap_values[:method_name] -%>!80!90
        register                        1
}

<% end -%>
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cloudstack-nagios-0.6.1 lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb
cloudstack-nagios-0.6.0 lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb