From 1677141cf60ea01fce01ac21445940bd1e79cf52 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Tue, 21 Jun 2011 17:45:45 +0200 Subject: [PATCH] bug #690: Wrong IM driver protocol --- src/im_mad/im_exec/one_im_exec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/im_mad/im_exec/one_im_exec.rb b/src/im_mad/im_exec/one_im_exec.rb index 2d14ba2767..686a346a16 100755 --- a/src/im_mad/im_exec/one_im_exec.rb +++ b/src/im_mad/im_exec/one_im_exec.rb @@ -53,7 +53,7 @@ class InformationManagerDriver < OpenNebulaDriver # Execute the run_probes in the remote host def action_monitor(number, host, do_update) - if !action_is_local?(:monitor) + if !action_is_local?(:MONITOR) if do_update == "1" # Use SCP to sync: sync_cmd = "scp -r #{@local_scripts_base_path}/. " \ @@ -65,7 +65,7 @@ class InformationManagerDriver < OpenNebulaDriver LocalCommand.run(sync_cmd, log_method(number)) end end - do_action("#{@hypervisor}", number, host, :monitor, + do_action("#{@hypervisor}", number, host, :MONITOR, :script_name => 'run_probes') end end