From bad9369e226ec5d2ad8aafabbd68ee240499dfc7 Mon Sep 17 00:00:00 2001 From: John David White Date: Fri, 16 May 2025 15:47:38 +0100 Subject: [PATCH 1/3] Update agent install docs --- .../agent/installation/manually-connect-to-console.md | 11 +++++++++-- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/content/includes/agent/installation/manually-connect-to-console.md b/content/includes/agent/installation/manually-connect-to-console.md index 27d22d2e9..c73d6568c 100644 --- a/content/includes/agent/installation/manually-connect-to-console.md +++ b/content/includes/agent/installation/manually-connect-to-console.md @@ -2,6 +2,11 @@ If you have installed NGINX Agent manually, you will need to connect it to the NGINX One Console to manage your NGINX instances. 1. Ensure NGINX Agent is installed + + ```shell + nginx-agent -v + ``` + 1. Locate the NGINX Agent Configuration File: ```shell @@ -19,5 +24,7 @@ NGINX One Console to manage your NGINX instances. 1. Restart the NGINX Agent service: ```shell - sudo systemctl stop nginx-agent - ``` \ No newline at end of file + sudo systemctl restart nginx-agent + ``` + +1. Connect your NGINX instance to the [NGINX One Console](/nginx-one/how-to/nginx-configs/add-instance/#add-an-instance) \ No newline at end of file diff --git a/go.mod b/go.mod index 602575fd1..24c110672 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/nginxinc/docs go 1.19 -require github.com/nginxinc/nginx-hugo-theme v0.42.30 // indirect +require github.com/nginxinc/nginx-hugo-theme v0.42.34 // indirect diff --git a/go.sum b/go.sum index 1349b409d..635374884 100644 --- a/go.sum +++ b/go.sum @@ -6,3 +6,5 @@ github.com/nginxinc/nginx-hugo-theme v0.42.28 h1:1SGzBADcXnSqP4rOKEhlfEUloopH6Uv github.com/nginxinc/nginx-hugo-theme v0.42.28/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M= github.com/nginxinc/nginx-hugo-theme v0.42.30 h1:qcHvB8tElbFN5ZWgs/TGn5IEmvnT5PG4ImQCCbMZ/Rw= github.com/nginxinc/nginx-hugo-theme v0.42.30/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M= +github.com/nginxinc/nginx-hugo-theme v0.42.34 h1:9wNBHsyjY89YDI8vTYHav3YHPR2ngqKKtX5S8y9gFHg= +github.com/nginxinc/nginx-hugo-theme v0.42.34/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M= From d13fb32003c23d27a622cab918619a46cef4ea9d Mon Sep 17 00:00:00 2001 From: John David White Date: Fri, 16 May 2025 16:48:45 +0100 Subject: [PATCH 2/3] PR feedback --- .../agent/installation/manually-connect-to-console.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/includes/agent/installation/manually-connect-to-console.md b/content/includes/agent/installation/manually-connect-to-console.md index c73d6568c..bdc2342c9 100644 --- a/content/includes/agent/installation/manually-connect-to-console.md +++ b/content/includes/agent/installation/manually-connect-to-console.md @@ -27,4 +27,8 @@ NGINX One Console to manage your NGINX instances. sudo systemctl restart nginx-agent ``` -1. Connect your NGINX instance to the [NGINX One Console](/nginx-one/how-to/nginx-configs/add-instance/#add-an-instance) \ No newline at end of file +1. Check the Agent log for `"Agent Connected"` + + ``` + sudo cat /var/log/nginx-agent/agent.log | grep "Agent connected" + ``` \ No newline at end of file From ee733346f9bb456a9eef2d144eb0c58910f86b30 Mon Sep 17 00:00:00 2001 From: John David White Date: Mon, 19 May 2025 09:15:32 +0100 Subject: [PATCH 3/3] PR feedback --- .../includes/agent/installation/manually-connect-to-console.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/includes/agent/installation/manually-connect-to-console.md b/content/includes/agent/installation/manually-connect-to-console.md index bdc2342c9..065990a75 100644 --- a/content/includes/agent/installation/manually-connect-to-console.md +++ b/content/includes/agent/installation/manually-connect-to-console.md @@ -29,6 +29,6 @@ NGINX One Console to manage your NGINX instances. 1. Check the Agent log for `"Agent Connected"` - ``` + ```shell sudo cat /var/log/nginx-agent/agent.log | grep "Agent connected" ``` \ No newline at end of file