Few nessus agents were appearing offline in Nessus Manager. I was working with a Windows engineer to troubleshoot the issue.
Normally, to resolve this issue, we try to unlink and re-link the Nessus Agent, from the Agent host.
As an administrator, from a command prompt, run the following commands:
Based on your operating system, use either C:\Program Files\Tenable\Nessus Agent or C:\ProgramData\Tenable\Nessus Agent.
> net stop "Tenable Nessus Agent"
> "C:\Program Files\Tenable\Nessus Agent\nessuscli" agent unlink (--force)
> "C:\Program Files\Tenable\Nessus Agent\nessuscli" agent link --key=<key> --host=<host> --port=<port>
> net start "Tenable Nessus Agent"
I shared the steps with the engineer and asked him to execute them. While he was running those commands, suddenly he asked me, if we are stopping the "Tenable Nessus Agent" service then what is the use of running subsequent commands ? I went blank for a couple of minutes.
Happy Learning !!
No comments:
Post a Comment