lib/cloudstack-nagios/commands/nagios_config.rb in cloudstack-nagios-0.7.5 vs lib/cloudstack-nagios/commands/nagios_config.rb in cloudstack-nagios-0.7.6
- old
+ new
@@ -80,9 +80,10 @@
default: File.join(File.dirname(__FILE__), '..', 'templates', 'cloudstack_capacity_services.cfg.erb'),
aliases: '-t'
def capacity_services
service_template = load_template(options[:template])
puts service_template.result(
+ zones: client.list_zones,
capacity_types: Capacity::CAPACITY_TYPES,
bin_path: bin_path,
config_file: options[:config],
date: date_string
)
\ No newline at end of file