lib/cloudstack-nagios/commands/nagios_config.rb in cloudstack-nagios-0.1.3 vs lib/cloudstack-nagios/commands/nagios_config.rb in cloudstack-nagios-0.2.0

- old
+ new

@@ -1,13 +1,13 @@ class NagiosConfig < CloudstackNagios::Base - desc "hosts", "generate nagios hosts configuration for virtual routers" + desc "nagios_config hosts", "generate nagios hosts configuration for virtual routers" def hosts - puts load_template("cloudstack_routers_hosts.cfg.erb").result(routers: routers) + puts load_template("cloudstack_routers_hosts.cfg.erb").result(routers: routers) end - desc "services", "generate nagios services configuration for virtual routers" + desc "nagios_config services", "generate nagios services configuration for virtual routers" def services - puts load_template("cloudstack_routers_services.cfg.erb").result(routers: routers) + puts load_template("cloudstack_routers_services.cfg.erb").result(routers: routers) end - end \ No newline at end of file + end