2 Replies Latest reply on Jul 14, 2012 5:15 PM by Rodrigo Agurto

    agentinfo get error code and description.

      Hello.

       

      Its there a way to get the error code and message when agentinfo fails in a server?

       

      like.

       

      RETURN=$(agentinfo "ServerName")

      ERR=$?

       

      in the case the command agentinfo fails, doesnt store the error message.

       

      cheers.