The discovery hook scripts are identified in the DISCOVERY_CUSTOM.import and POST-DISCOVERY_CUSTOM.import files, which are located in the BASEDIR/smarts/conf/discovery directory in the IP Manager installation area.
Each time the IP Manager performs a discovery cycle, it runs the main discovery drivers plus the discovery hook scripts that are identified in the DISCOVERY_CUSTOM.import file. The discovery may be an initial discovery, a full discovery, or a pending discovery.
By default, running the discovery hook scripts has no effect on the discovery process because the scripts are just template files, which mean that you must open the scripts with an editor and add the code that performs the actual processing.