macOS Command Line Operations

You must run all programs as a root user or with equivalent privileges.

Start or Stop Tenable Network Monitor

Action

Command to Manage Tenable Network Monitor

Start

# launchctl load -w /Library/LaunchDaemons/com.tenablesecurity.nnm-proxy.plist

Stop

# launchctl unload -w /Library/LaunchDaemons/com.tenablesecurity.nnm-proxy.plist

File Locations

Tenable Network Monitor installs its files in the following locations:

Path

Purpose

/Library/NNM

Base directory.

/Library/NNM/docs

Contains the Tenable Network Monitor license agreement in various file formats.

/Library/NNM/bin

Location of the NNM and Tenable Network Monitor Proxy executables, plus several helper tools for the Tenable Network Monitor Proxy daemon.

/Library/NNM/var/nnm

Contains plugins, discovered vulnerabilities, log files, keys, and other miscellaneous items.

db

Contains the database files related to the configuration, reports, and users for Tenable Network Monitor.

kb

Stores the Tenable Network Monitor knowledge base, if used.

logs

Contains Tenable Network Monitor logs.

plugins

Contains the Tenable Network Monitor plugins delivered via Tenable Security Center, Tenable Vulnerability Management, the Tenable Network Monitor Feed, or updated via the command line or web interface if Tenable Network Monitor is running in Offline mode.

Note: Do not change this path from the default /Library/NNM/var/nnm if Tenable Security Center is used to manage the plugins.

nnm-services

A file Tenable Network Monitor uses to map service names to ports. This file may be edited by the user. Plugin updates do not overwrite modifications to the file.

reports

Contains reports generated by Tenable Network Monitor . This folder contains the .nessus file generated by default.

scripts

Contains the files for the Tenable Network Monitor Web server.

ssl

Contains SSL certificates used by the proxy and web server for the SSL connection between itself and Tenable Security Center or the web browser.

users

Contains files and reports for Tenable Network Monitor users.

www

Contains the files for the Tenable Network Monitor web front-end.

/Library/NNM/var/nnm-proxy

Parent folder for files used/created by the Tenable Network Monitor proxy.

logs

Contains the Tenable Network Monitor proxy and Tenable Network Monitor proxy service logs.