Does the NXSL script support a function to make a request to a web service and return the retrieved data and HTTP code?
Hi, here would be example from documentation and the script needs to be executed on the node where agent with "EnableWebServiceProxy=yes" is running.
webSvc = $node.getWebService("web_service_definition_name");
result = webSvc.get();
println(result.httpResponseCode);
println(result.document);
If this agent is on your NetXMS server node, you can use GetServerNode() instead of $node, this way you can run this script in context on any node.