TOC & Recently Viewed

Recently Viewed Topics

Install a Nessus Agent on Linux

Caution: If you install a Nessus Agent, Manager, or Scanner on a system with an existing Nessus Agent, Manager, or Scanner running nessusd, the installation process will kill all other nessusd processes. You may lose scan data as a result.

Download the Nessus Agent

On the Nessus Agents Download Page, download the package specific to your operating system.

Example Nessus Agent Package Names

Install Nessus Agent

Note: The following steps require root privileges.

Using the command line interface, install the Nessus Agent.

Example Linux Install Commands

Note: After installing a Nessus Agent, you must manually start the service using the command /sbin/service nessusagent start.

Link Agent to Nessus Manager

At the command prompt, use the use the nessuscli agent link command. For example:

/opt/nessus_agent/sbin/nessuscli agent link

--key=00abcd00000efgh11111i0k222lmopq3333st4455u66v777777w88xy9999zabc00

--name=MyOSXAgent --groups="All" --host=yourcompany.com --port=8834

The supported arguments for this command are:

Argument Required? Value
key

yes

Use the values you retrieved from the manager.
host yes
port yes

name

no Specify a name for your agent. If you do not specify a name for your agent, the name defaults to the name of the computer where you are installing the agent.
groups no Specify existing agent group or groups where you want to add the agent. If you do not specify an agent group during the install process, you can later add your linked agent to the group in Nessus Manager or Tenable.io.
cloud no

Specify the --cloud argument to link to Tenable.io.

The --cloud argument is a shortcut to specifying --host=cloud.tenable.com --port=443.

If the information that you provide is incorrect, a "Failed to link agent" error appears.

Note: If you attempt to clone an agent and link it to Nessus Manager or Tenable.io, a 409 error may appear. This error appears because another machine has been linked with the same uuid value in the /etc/machine_id or /etc/tenable_tag file. To resolve this issue, replace the value in the /etc/tenable_tag file with a valid UUIDv4 value. If the /etc/machine_id file does not exist, you can delete /etc/tenable_tag to generate a new value.

Verify a Linked Agent

To verify a linked agent in Nessus Manager or Tenable.io:

  1. In the top navigation bar, click Scans.

    The My Scans page appears.

  2. In the left navigation bar, click Agents.

    The Agents page appears, and the new Agent appears in the table.

Copyright 2017 - 2018 Tenable, Inc. All rights reserved. Tenable Network Security, Nessus, SecurityCenter, SecurityCenter Continuous View and Log Correlation Engine are registered trademarks of Tenable, Inc. Tenable, Tenable.io, Assure, and The Cyber Exposure Company are trademarks of Tenable, Inc. All other products or services are trademarks of their respective owners.