Sha256: ab9d6a12aff4f66ab9fc1f8f3172c4451eacc3bb72465fc7a203f866fdcda25e
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.7.2 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |
cloudstack-nagios-0.7.1 | lib/cloudstack-nagios/templates/cloudstack_capacity_services.cfg.erb |