diff --git a/src/im_mad/dummy/one_im_dummy.rb b/src/im_mad/dummy/one_im_dummy.rb index 9e8b145db8..f12aeea009 100755 --- a/src/im_mad/dummy/one_im_dummy.rb +++ b/src/im_mad/dummy/one_im_dummy.rb @@ -45,6 +45,7 @@ class DummyInformationManager < OpenNebulaDriver # register actions register_action(:MONITOR, method("action_monitor")) + register_action(:STOPMONITOR, method("stop_monitor")) end # Execute the sensor array in the remote host @@ -72,6 +73,10 @@ class DummyInformationManager < OpenNebulaDriver send_message("MONITOR", RESULT[:success], number, results) end + + def stop_monitor(number, host) + send_message("STOPMONITOR", RESULT[:success], number, nil) + end end