Author: Eoin Joy
For the process of discovering the topology of a system to create in the SNMP Manager database, first we must know what kind of system we are looking at.
These scripts determine what kind of system it is we are looking at, and lets the user know this after the initial data from the site has been obtained, but before constructing the whole system.
Some systems share many UI elements while remaining physically different pieces of equipment. In general, those that have become too difficult to differentiate at a glance both as a human user and from a HTML scraper perspective use the same full discovery script, and differentiate somewhere closer to the end of the process than the more unique user interfaces.
Two scripts are used to determine which of the Topology Discovery Scripts are used, and these are set in the Configuration domain.
The initial topology discovery script aims to look at the login page (or even a little past that) of a controller to determine which Basic Info script should be executed.
RemoteDiscoveryScript – The Basic Info script needed to discover the basic info about a controller (version, some form of configured name)
ipAddress – String – The IP Address given to the discovery widget in the EMS. This has been resolved against a regex pattern and separated from the port if given.
cluster – Cluster – The Cluster within which this discovery process was initiated in the EMS.
port – String – The optional port if given to the discovery widget in the EMS. This has also been resolved against a regex pattern and separated from the IP Address.
The full topology discovery script works very similarly to the initial topology discovery script, except that it returns the Full System discovery script for the user interface detected.
RemoteDiscoveryScript – The Full System script needed to discover all of the elements under a controller.
ipAddress – String – The IP Address given to the discovery widget in the EMS. This has been resolved against a regex pattern and separated from the port if given.
port – String – The optional port if given to the discovery widget in the EMS. This has also been resolved against a regex pattern and separated from the IP Address.