Sha256: b7ed6b5fcbc32fca05a9d147be48201c83d22bfc3b72dca2054b492f424545a2

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 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
#
###############################################################################

define command {
  command_name  cs-nagios_check-storage_pool
  command_line  <%= bin_path -%>cs-nagios check storage_pool --pool_name $ARG3$ --over_provisioning $ARG4$ -w $ARG1$ -c $ARG2$ --config <%= config_file %>
  register      1
}

<% storage_pools.each do |storage_pool| -%>
define service {
  hostgroup_name        Cloudstack-API
  service_description   Cloudstack Storage Pool <%= storage_pool['name'] %>
  display_name          Cloudstack Storage Pool <%= storage_pool['name'] %>
  use                   Generic-Service,service-pnp
  check_command         cs-nagios_check-storage_pool!80!90!<%= storage_pool['name'] %>!<%= over_provisioning %>
  register              1
}

<% end -%>

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloudstack-nagios-0.7.8 lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb
cloudstack-nagios-0.7.7 lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb
cloudstack-nagios-0.7.6 lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb
cloudstack-nagios-0.7.5 lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb
cloudstack-nagios-0.7.4 lib/cloudstack-nagios/templates/cloudstack_storage_pool_services.cfg.erb