Hi
I have a few servers with the SolarWinds agent installed in passive mode (server-initiated).
Does anyone know how I can automate the process of assigning them to be polled by a specific APE?
Thanks
I'd take a look at this PowerShell example. It seems like lines 11 - 55 and 173 - 197 might be useful.
OrionSDK/Samples/PowerShell/DeployAgentViaVerb.ps1 at master · solarwinds/OrionSDK · GitHub
Thanks, I want it to work like the "Network Discovery".
It means, not to pass parameters like "machine name", just give it a subnet and it automatically adds all machines with passive agent installed on them.
I tried to use the "Network Dicovery" but it cannot add agent in passive mode.
Do you know if there is some way to do it?
I might give this a try later, need to put a passive agent in the lab somewhere first.You can probably do a ~ Select id, ip from agents where like passive | addNode.ps1
My issue isn't about setting the agent as a node, but rather getting SolarWinds to recognize that a new agent has been installed on a server (in passive mode)