Powershell windows client bug
list Stef Coene
Thu, 13 Jun 2019 20:32:50 +0200
Message-Id: <user-a933121b0bf9@xymon.invalid>
Hi,
I had some strange error when sending the data via xymoncgimsg.cgi.
Using port 1984 was working fine. The procs check was giving this error:
"Expected string Name not found in ps output header"
When comparing the data I found out that the \r was not stripped when
using xymoncgimsg.cgi.
So the solution was to strip the \r from the output.
I inserted this line at line 3020 to solve my issue:
$msg = $msg.Replace("`r","")
Stef