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 Network Protocol Manager installation area. For example, the discovery hook scripts for Network Protocol Manager for BGP are identified in the BASEDIR/smarts/conf/bgp/DISCOVERY_CUSTOM.import file.
Each time Network Protocol Manager 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.