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?
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 SpecialistSupport: 866.530.8040 | Fax: 512.857.0125network management simplified | solarwinds.com