I'm trying to make a custom sensor for PSPING, a TCP ping tool :(https://technet.microsoft.com/en-us/sysinternals/jj729731.aspx)
the output from the commandline is "noisy" so, I created a batch file to try an just get the one value I want
FOR /f "tokens=9" %%G IN ('psping -q google.com:443 ^|find "Average"') do echo %%G
This still gives this output: PsPing v2.01 - PsPing - ping, latency, bandwidth measurement utility Copyright (C) 2012-2014 Mark Russinovich Sysinternals - www.sysinternals.com
100% C:\temp>echo 4.79ms 4.79ms
If I add this as a custom sensor, I get the error : Response not well formed (then the batch file contents)
I'd appreciate any pointers on how to get this working.