Automating discovery and SNMPCollector to query discovery_server on a regular basis and automatically monitor new devices
search cancel

Automating discovery and SNMPCollector to query discovery_server on a regular basis and automatically monitor new devices

book

Article ID: 244783

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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?

Environment

UIM 20.4 and higher

Resolution

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:

Examples of probe utility commands that can be used in programs.

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.

 

 

 

Additional Information