Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Trigger REST API Node Discovery from Powershell Script

$
0
0

I am entirely new to REST calls and JSON arrays, and I am struggling to implement automated node discovery using the SWIS REST API. My eventual goal is to integrate this method with vRealize Orchestrator, but I would like to use Powershell during the initial testing. Before I go too deep into the rabbit hole, I have to ask... does anyone out there have an example of this that they would be willing to share? I am interested in:

 

1. What URL is used for the REST call? I assume it is something like https://primaryorionserver:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.Discovery/StartDiscovery, but is it necessary to invoke the SWIS verb CreateCorePluginConfiguration first?

2. Does it all happen in one REST call, or several? Is there one for CreateCorePluginConfiguration and then another for StartDiscovery?

3. What does the JSON body look like?

 

If someone has an example script, preferably in Powershell, that they would be willing to share, I would find it enormously helpful. I can usually work out what I need from examples.

 

Many thanks in advance!


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>