We are currently using the Discovery Server via OC along with SNMP Collector via AC to scan our network for new devices and onboard them into groups.
We have to go to the OC -> Setup Wizard -> Discover Devices -> Select Hub -> Enter Info and Run Discovery, then we navigate to the AC -> Select Hub -> Configure -> Discovery Filters -> ... -> Query Discovery Server.
We would like to automate this process.
Is it possible?
UIM 20.3 and higher
Discovery can be automatically scheduled via the Discovery Wizard.
In terms of SNMPcollector and "Query Discovery Server", this functionality is exposed via a snmpcollector probe callback known as load_from_discovery_serv which can be accessed via the probe utility.
This in turn can be leveraged for various types of automation, for example in external scripts using the command-line version of the probe utility as described here:
so you could run the probe utility with the command like the following:
pu -u administrator -p (password) /Domain/Hubname/robotname/snmpcollector load_from_discovery_serv
This would trigger the snmpcollector to query discovery_server the same as when the button in UI is pressed.