1 Reply Latest reply on Feb 4, 2009 12:28 PM by Fodome

    Can an Enviornment Variable be used instead of a Expected Return Value for an External Monitor

    dmagnavill

      I'm using SSH within Cygwin to execute a Shell script on a remote Linux server but would like to set different values i.e <,>,=,!= instead of using the Expected Return Value of the Script.

      Can this be done?

        • Re: Can an Enviornment Variable be used instead of a Expected Return Value for an External Monitor
          Fodome

          Hello dmagnavill,

          To my knowledge it is not possible to pass an environment variable from the script through the SSH client and into ipMonitor.  Having that said, in this scenario ipMonitor can only monitor if the entire process failed or succeeded.  The script is therefore written to "fail" if its thresholds are not met by setting the errorlevel to 1.

          If you find an alternative way to do this, please feel free to share.

          Sincerely,

          Chris Foley - SolarWinds - Support Specialist
          Support:  866.530.8040  |  Fax: 512.857.0125
          network management simplified  |  solarwinds.com