If you are having issues with your internal agent, then it might be worth checking its status. The steps below will walk you through running the command, and interpreting the output.

N.B. To run this command, you have to be in the folder where nessuscli is installed, typically this is:
MacOS: /Library/Nessus/run/sbin/nessuscli

Windows: \Program Files\Tenable\Nessus\nessuscli.exe

Linux: /opt/nessus_agent/sbin/nessuscli

Windows

  1. Ensure you are running the command as Administrator. (Not admin?)

  2. Open: Command Prompt: Press Windows button (next to alt) + R; type cmd + hit return or Open search bar; type cmd, scroll down to command prompt + click to open

  3. In the terminal type nessuscli agent status and hit return.

  4. Check out the options below:

MacOS

  1. Open Terminal: Press command + space bar, and type terminal

  2. In the terminal type nessuscli agent status and hit return.

  3. Check out the options below:



It says 'command not found'

If the agent status returned this:

Command not found

Then it means you that you are not running the command as an Administrator, or you are not in the right directory.
Linux: opt/nessus_agent
MacOS: /Library/NessusAgent
Windows: Program Files\Tenable\Nessus Agent or something similar.


Please run the command again, this time as Administrator and in the correct directory (follow the steps above for non-admin users) 👆


It says 'Not linked to a manager'

If the agent status returned this:

Linked to: None
Link status: Not linked to a manager

Then it could mean one of two things:

  1. The agent hasn't installed:
    It is possible that your original install command contained errors (wrong filename, wrong path, DeviceName etc) and so we would recommend going back and trying the installation process again.

  2. Your system cannot reach out to tenable
    You need to check that you are connected to the internet and that the agent can reach out to cloud.tenable.com on port 443. (This is the only relevant firewall rule). When you are certain that the system is connected to the internet, try running the command again. If it still says "not linked to a manager" then you will need to try the installation process again.


It says 'Running', but it is 'Not linked to a manager'

Running: Yes

Linked to: None
Link status: Not linked to a manager

This means that there was an issue during the original installation and you will need to run a different command to get it working. Instructions on how to do that, can be found here.


It says linked to 'cloud.tenable.com:443', but I still can't see it in my targets list

If the agent status returned this:
Linked to: cloud.tenable.com:443
Link status: Connected to cloud.tenable.com:443

This means that it has linked, but there is an underlying issue that is stopping it from working as intended. The best bet here, would be to unlink the agent, (check that it unlinked) and then link it again. Instructions on how to do that, can be found here.

Did this answer your question?