i have a problem with ssh script and ssh advanced script the connection return me a strange simbol and the ssh advanced go in error for junk after </prtg> the junk is [1]+ Done(127) eTXEJ@Rv
this is the log
[INFO][3/11/2021 4:36:07 PM] Opening Connection [INFO][3/11/2021 4:36:07 PM] Shell: $SHELL = /bin/bash 72567 pts/1 00:00:00 sh [1]+ Done(127) eTXEJ@Rv [INFO][3/11/2021 4:36:07 PM] Sending command /var/prtg/scriptsxml/check_cpu.sh [INFO][3/11/2021 4:36:08 PM] Sending EOF [INFO][3/11/2021 4:36:08 PM] Reading PaeSSH result [INFO][3/11/2021 4:36:08 PM] [STDOUT] <?xml version="1.0" encoding="UTF-8" ?> <prtg> <result> <channel>%usr</channel> <value> <Unit> CPU </Unit> <float> all </float></value> </result> <result> <channel>%nice</channel> <value> <Unit> CPU </Unit> <float> 0.79 </float></value> </result> <result> <channel>%sys</channel> <value> <Unit> CPU </Unit> <float> 0.00 </float></value> </result> <result> <channel>%iowait</channel> <value> <Unit> CPU </Unit> <float> 0.16 </float></value> </result> <result> <channel>%irq</channel> <value> <Unit> CPU </Unit> <float> 0.02 </float></value> </result> <result> <channel>%soft</channel> <value> <Unit> CPU </Unit> <float> 0.00 </float></value> </result> <result> <channel>%steal</channel> <value> <Unit> CPU </Unit> <float> 0.02 </float></value> </result> <result> <channel>%guest</channel> <value> <Unit> CPU </Unit> <float> 0.02 </float></value> </result> <result> <channel>%gnice</channel> <value> <Unit> CPU </Unit> <float> 0.00 </float></value> </result> <result> <channel>%idle</channel> <value> <Unit> CPU </Unit> <float> 0.00 </float></value> </result> </prtg> [1]+ Done(127) eTXEJ@Rv [INFO][3/11/2021 4:36:08 PM] [STDERR] [INFO][3/11/2021 4:36:08 PM] Sending exit [INFO][3/11/2021 4:36:08 PM] Sending EOF
of course if i lunch the scritp on the vm the result is correct i have the last version 21.1.66.1623+
Add comment