[Xymon] Powershell windows client bug

Stef Coene stef.coene at docum.org
Thu Jun 13 20:32:50 CEST 2019


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


More information about the Xymon mailing list