Hey Thwackers,
I'm looking to do targeted re-discoveries of some of our server nodes automatically via the API which includes both SNMPv2c, and agent nodes. The primary goal is to rediscover and add new volumes, however another goal as well would be to initially add volumes and interfaces once the nodes get created automatically via the API as well (or an agent is registered).
All the documentation is essentially for discovery of SNMP or WMI nodes. Does anyone happen to know how to adjust the XML for the script up on GitHub to accommodate for Agents? In my own digging, I've taken a look at some of the XML from creating a discovery via the web UI and have been attempting to inject it into the CorePluginConfiguration (with little success).
What I found are these settings but I'm not sure where they may go or which ones are required and the appropriate syntax either (or better yet... if this is even technically supported via the API yet)
<AgentsFilterDefinition>filter:/Orion.Nodes</AgentsFilterDefinition>
<AgentsFilterQuery>1=1</AgentsFilterQuery>
https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/DiscoverSnmpV3Node.ps1
Any and all help and/or suggestions appreciated, thanks!