Sha256: f4f1911ad8a972597025722c50a925382851ee08fbfce00196d5dc4322fd53bb
Contents?: true
Size: 1.47 KB
Versions: 2
Compression:
Stored size: 1.47 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-API 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.7.5 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |
cloudstack-nagios-0.7.4 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |