Hi, I build a simple SSH script but is not executed and I get the time out error.
Here the script
"<prtg>" New-SSHSession -ComputerName 172.20.3.1 -Credential $Credential -AcceptKey >$null "<result>" " <channel>TEST</channel>" " <value>" if ($Res = Invoke-SSHCommand -Index 0 -Command "ping -c 1 172.20.1.1" > $null) { "1" " </value>" " <float>" "1" } else { "0" " </value>" " <float>" "0" } " </float>" " </result>" "</prtg>"
Debbuging the sensor I only the file with (Sensor#).Data.txt but not the (Sensor#).txt
Any Idea?
Thanks
Add comment