Perl Script: Discover RSCD Agents on the Network

Version 3

    Product: Perl Module

    Version: All Versions


    The attached script can be used to detect agents listening on a certain port using the nmap tool.  It requires that nmap be installed and in the user's path or in the user's present working directory. Using the -f option, the user can export the results of the scan (i.e., a list of hosts) to a file, which can then be imported into Configuration Manager using the bulk server import capability.


    • This sample can also be found in the samples directory within the product distribution.