We are attempting to do a custom SSH script to an UNIX/AIX OS. However we are having issues getting the system to return a value PRTG can use for up and down.
here is the bat file PRTG calls to start the sensor: plink.exe -batch -ssh [email protected] -pw Password -m "c:\Path\To\Script\linux.txt"
here is the linux.txt commands: FILE=./UP_ALERT_DO-NOT-DELETE.txt if [ -f "$FILE" ] then echo "0:200:File System Found." # returncode 0 = put sensor in OK status else echo "4:500:File System Not Found." # returncode 4 = put sensor in DOWN status fi exit
However, PRTG doesn't see the echo response? Any help? Please note this is AIX and the native SSH sensors do not work on AIX OS.