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:
- 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
- Go to https://plugins.nessus.org/v2/offline-NNM.php.
- 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.
- 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. - Copy this file to the host running Tenable Nessus Network Monitor in the appropriate directory.
- Once the
NNM.license
file is copied, run theTenable 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
- 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
). - 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