Sha256: c91010112294afda38b91ac953c97b2d4c7e0efc2718d847a5ea80896366ed85

Contents?: true

Size: 780 Bytes

Versions: 37

Compression:

Stored size: 780 Bytes

Contents

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 {
  host_name            Cloudstack_<%= storage_pool['zonename'] %>
  service_description  Cloudstack Storage Pool <%= storage_pool['zonename'] %> <%= storage_pool['name'] %>
  display_name         Cloudstack Storage Pool <%= storage_pool['zonename'] %> <%= 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 -%>

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
cloudstack-nagios-0.21.0 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.20.1 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.20.0 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.19.0 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.18.4 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.18.3 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.18.2 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.18.1 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.18.0 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.7 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.6 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.5 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.4 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.3 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.2 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.1 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.17.0 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.16.3 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.16.2 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb
cloudstack-nagios-0.16.1 lib/cloudstack-nagios/templates/cloudstack_storage_pools.cfg.erb