Modeling Devices Using Port Scan

You can model IP services by doing a port scan, using the Nmap Security Scanner (http://nmap.org/). You must provide the full path to your system's nmap command.

To determine where nmap is installed, at the command line, enter:

which nmap

If your system returns a result similar to:

/usr/bin/which: no nmap in (/opt/zenoss/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/zenoss/bin)

then nmap is not installed. Install it, and then try again.

After locating the nmap command (including the directory beginning with /), enter the following as the zenoss user on the Resource Manager server:

cd $ZENHOME/libexec ln -s Full_Path_to_nmap

To model a device using a port scan:

  1. Select the device in the device list.
  2. In the left panel, select Modeler Plugins.
  3. Select the zenoss.nmap.ipServiceMap plugin in the list of Available plugins, and then use the right arrow control to move it to the list of Selected plugins.
  4. Click Save.
  5. Remodel the device by clicking the Model Device button.