Hello
I am trying to use the ${IP} script argument in a jscript for a Window Script Monitor.
Here is the snippet of code
var client;
var command;
var stream;
client = new ActiveXObject("MatrixSwitchInterface.Client");
stream = client.getStream("${IP}",9100);
I get the followin error
C:\ProgramData\SolarWinds\Orion\temp\a372b712-fe84-4f1a-9143-20dd5790eaba(8, 1) System: No such host is known
${IP} is in the "Script Arguments" field of the component monitor.
I have tried double quotes because it needs to be passed as a string. I've tried single quotes, no quotes, assigning it to a variable but nothing works
Any help would be greatly appreciated