def dispatch(action, agent_name)
      # Setup the environment from config if necessary
      begin
        send("#{action}_agent", agent_name)
      rescue SystemExit
        true
      rescue SignalException
        true
      rescue Exception => e
        puts Log.format("Failed to #{action} #{agent_name}", e, :trace)
      end
      true
    end
def dispatch(action, agent_name)
      # Setup the environment from config if necessary
      begin
        send("#{action}_agent", agent_name)
      rescue SystemExit
        true
      rescue SignalException
        true
      rescue Exception => e
        puts Log.format("Failed to #{action} #{agent_name}", e, :trace)
      end
      true
    end
Dispatch action

 === Parameters
 action(String):: Action to be performed
 agent_name(String):: Agent name

 === Return
 true:: Always return true