From 491dcd0ef554d85f3dda19ebab135354f12565b4 Mon Sep 17 00:00:00 2001 From: mattdurham Date: Mon, 28 Feb 2022 14:44:38 -0500 Subject: [PATCH 1/4] Update install-agent-on-windows.md add quotes to URL silent install doc --- docs/user/getting-started/install-agent-on-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/getting-started/install-agent-on-windows.md b/docs/user/getting-started/install-agent-on-windows.md index dbb43d394064..bed7516f0cca 100644 --- a/docs/user/getting-started/install-agent-on-windows.md +++ b/docs/user/getting-started/install-agent-on-windows.md @@ -23,7 +23,7 @@ Existing configuration files will be kept when re-installing or upgrading the Gr ### Silent Installation -Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url http://example.com `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. +Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. ## Security From c352e17739667e5b98c4cde0838b62fb69b561dc Mon Sep 17 00:00:00 2001 From: mattdurham Date: Mon, 28 Feb 2022 14:47:47 -0500 Subject: [PATCH 2/4] Update install-agent-on-windows.md --- docs/user/getting-started/install-agent-on-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/getting-started/install-agent-on-windows.md b/docs/user/getting-started/install-agent-on-windows.md index bed7516f0cca..78635c8a546c 100644 --- a/docs/user/getting-started/install-agent-on-windows.md +++ b/docs/user/getting-started/install-agent-on-windows.md @@ -23,7 +23,7 @@ Existing configuration files will be kept when re-installing or upgrading the Gr ### Silent Installation -Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. +Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. Powershell is not recommended, standard cmd is. ## Security From bcafda8e23548935eddd6082ae0e2e87027ea41e Mon Sep 17 00:00:00 2001 From: mattdurham Date: Mon, 28 Feb 2022 14:55:04 -0500 Subject: [PATCH 3/4] Update install-agent-on-windows.md --- docs/user/getting-started/install-agent-on-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/getting-started/install-agent-on-windows.md b/docs/user/getting-started/install-agent-on-windows.md index 78635c8a546c..adea47d238fb 100644 --- a/docs/user/getting-started/install-agent-on-windows.md +++ b/docs/user/getting-started/install-agent-on-windows.md @@ -23,7 +23,7 @@ Existing configuration files will be kept when re-installing or upgrading the Gr ### Silent Installation -Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. Powershell is not recommended, standard cmd is. +Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. When using powershell use triple quotes """http://example.com""" around the url parameter. ## Security From eaf628545098084ac21738b936f5162998d65447 Mon Sep 17 00:00:00 2001 From: mattdurham Date: Mon, 28 Feb 2022 15:09:09 -0500 Subject: [PATCH 4/4] Update install-agent-on-windows.md Fix linting error --- docs/user/getting-started/install-agent-on-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/getting-started/install-agent-on-windows.md b/docs/user/getting-started/install-agent-on-windows.md index adea47d238fb..a6fe56dd92fb 100644 --- a/docs/user/getting-started/install-agent-on-windows.md +++ b/docs/user/getting-started/install-agent-on-windows.md @@ -23,7 +23,7 @@ Existing configuration files will be kept when re-installing or upgrading the Gr ### Silent Installation -Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. When using powershell use triple quotes """http://example.com""" around the url parameter. +Silent installation can be achieved via `grafana-agent-installer.exe /S /EnableExporter true /Username 12345 /Password password /Url "http://example.com" `. EnableExporter enables or disables Windows Exporter, default is `false`. Username, Password and Url set the global remote_write configuration, they can be omitted if not using remote_write. When using powershell use triple quotes `"""http://example.com"""` around the url parameter. ## Security