diff --git a/src/im_mad/im_sh/one_im_sh.rb b/src/im_mad/im_sh/one_im_sh.rb index c2ab321cef..79714d2934 100755 --- a/src/im_mad/im_sh/one_im_sh.rb +++ b/src/im_mad/im_sh/one_im_sh.rb @@ -64,7 +64,7 @@ class InformationManager < OpenNebulaDriver end cmd_string = "#{@cmd_path}/run_probes #{@hypervisor} #{host}" - monitor_exe = LocalCommand.run(cmd_string, host, log_method(id)) + monitor_exe = LocalCommand.run(cmd_string, log_lambda) if monitor_exe.code == 0 send_message("MONITOR", RESULT[:success], number, monitor_exe.stdout)