When the
discovery hook scripts run
The discovery
hook scripts are identified in the DISCOVERY_CUSTOM.import files located
in the BASEDIR/smarts/conf/bgp|eigrp|isis|ospf directory in the installation
area. For example, the discovery hook scripts for are identified in the BASEDIR/smarts/conf/bgp/DISCOVERY_CUSTOM.import
file.
Each time performs a discovery, it runs the standard discovery
probes, plus the discovery hook scripts that are identified in the
relevant DISCOVERY_CUSTOM.import file. By default, running the discovery
hook scripts has no effect on the discovery process because the scripts
are just template files. You must open the scripts with an editor
and add the code or prose that performs the actual processing.
You must have root or administrative privileges to
edit the discovery hook scripts.