Xymon Mailing List Archive search

Xymon PS Client and External VBS scripts

list Mark Felder
Thu, 30 Apr 2015 10:43:35 -0500
Message-Id: <user-85e07ded0af3@xymon.invalid>


On Thu, Apr 30, 2015, at 00:14, user-a23a3b28d7cd@xymon.invalid wrote:
Dear All,

Does anyone have a way to run VBS External scripts via Windows Schedule 
Tasks, and send the results directly back to the Xymon Server?
Powershell appears to have the ability to talk TCP, so you could
certainly write a Powershell script to connect to the Xymon server port
1984 and send the results for the test

example: $socket = new-object System.Net.Sockets.TcpClient($remoteHost,
$port)