Register Tenable Nessus Network Monitor Offline via the CLI

If your Tenable Nessus Network Monitor installation cannot reach the Internet directly, use the following procedure to register and update plugins:

  1. On the system running Tenable Nessus Network Monitor, type the following command:

    Platform

    Command to Run

    Red Hat Linux / CentOS

    # /opt/nnm/bin/nnm --challenge

    Windows

    C:\Program Files\Tenable\NNM\nnm --challenge

    macOS

    # /Library/NNM/bin/nnm --challenge

    This produces a challenge code similar to the following:

    569ccd9ac72ab3a62a3115a945ef8e710c0d73b8

  2. Go to https://plugins.nessus.org/v2/offline-NNM.php.
  3. Paste the challenge code as well as the Activation Code you received previously from Tenable into the appropriate text boxes.

    This produces a URL that gives you direct access to the Tenable Nessus Network Monitor plugins.

  4. Save the URL as it is used every time you update your plugins.

    Additionally, a license key and the associated NNM.license file are produced.

  5. Copy this file to the host running Tenable Nessus Network Monitor in the appropriate directory.
  6. Once the NNM.license file is copied, run the Tenable Nessus Network Monitor --register-offline command to install the file:

    Platform

    Directory

    Red Hat Linux / CentOS

    # /opt/nnm/bin/nnm --register-offline /path/to/NNM.license

    Windows

    C:\Program Files\Tenable\NNM\nnm --register-offline "C:\path\to\NNM.license"

    macOS

    # /Library/NNM/bin/nnm --register-offline /path/to/NNM.license

  7. To obtain the newest plugins, navigate to the URL provided in the previous step.

    You receive a TAR file (e.g., sc-passive.tar.gz).

  8. Copy the file to Tenable Nessus Network Monitor and then type the appropriate command for your platform:

    Platform

    Command

    Red Hat Linux / CentOS

    # /opt/nnm/bin/nnm --update-plugins /path/to/sc-passive.tar.gz

    Windows

    C:\Program Files\Tenable\NNM\nnm --update-plugins C:\path\to\sc-passive.tar.gz

    macOS

    # /Library/NNM/bin/nnm --update-plugins /path/to/sc-passive.tar.gz