lib/cloudstack-nagios/templates/icinga2/cloudstack_capacities.cfg.erb in cloudstack-nagios-0.17.0 vs lib/cloudstack-nagios/templates/icinga2/cloudstack_capacities.cfg.erb in cloudstack-nagios-0.17.1
- old
+ new
@@ -1,9 +1,9 @@
<% capacity_types.each do |cap_type, cap_values| -%>
object CheckCommand "cs-nagios_check-capacity_<%= cap_values[:method_name] %>" {
import "plugin-check-command"
- command = [ "<%= bin_path -%>cs-nagios check capacity <%= cap_values[:method_name] %>" ]
+ command = [ "<%= bin_path -%>cs-nagios", "check", "capacity", "<%= cap_values[:method_name] %>" ]
arguments = {
"-w" = "80"
"-c" = "90"
"--config" = "<%= config_file %>"