Sha256: 26b494fe25cafbc1cfeda16e699e138b3e73fa4846183407a3a2ea8df2253cd3
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 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 %> --zone $ARG3$ register 1 } <% end -%> <% zones.each do |zone| -%> <% capacity_types.each do |cap_type, cap_values| -%> define service { hostgroup_name Cloudstack-API service_description Cloudstack <%= zone['name'] %> <%= cap_values[:name] %> display_name Cloudstack <%= zone['name'] %> <%= cap_values[:method_name] %> use Generic-Service,service-pnp check_command cs-nagios_check-capacity_<%= cap_values[:method_name] -%>!80!90!<%= zone['name'] %> register 1 } <% end -%> <% end -%> ############################################################################### # # Service configuration file # # END OF FILE # ###############################################################################
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-nagios-0.7.8 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |
cloudstack-nagios-0.7.7 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |