Sha256: 716441d934c14ec94f30452c43f167beb09d299efdea89dc7b428d90029ba5e2
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
############################################################################### # # Cloudstack storage_pool 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 # ############################################################################### <% storage_pools.each do |storage_pool| -%> define command { command_name cs-nagios_check-storage_pool command_line <%= bin_path -%>cs-nagios check storage_pool --pool_name <%= storage_pool['name'] -%><%= " --over_provisioning #{over_provisioning}" if over_provisioning != 1.0 && storage_pool['type'] == 'NetworkFilesystem' -%> --zone <%= storage_pool['zonename'] -%> -w $ARG1$ -c $ARG2$ --config <%= config_file %> register 1 } <% end -%> define service { hostgroup_name Cloudstack-SystemVM service_description Cloudstack Storage Pool display_name Cloudstack Storage Pool use Generic-Service,service-pnp check_command cs-nagios_check-storage_pool!80!90 register 1 } ############################################################################### # # Service configuration file # # END OF FILE # ###############################################################################
Version data entries
3 entries across 3 versions & 1 rubygems