From aa1e4e8906db4546f36df917f51ee8fc9de25382 Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Mon, 20 Nov 2023 19:58:54 +1000 Subject: [PATCH] fix(docs): Add textfile to enabled_collectors Omission of the collector implied that setting `TEXTFILE_DIR` was sufficient to enable the collector, which is not true. Signed-off-by: Ben Reedy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e2634cd..a592bbe7 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ msiexec /i ENABLED_COLLECTORS=os,service --% EXTRA_FLAGS="--c On some older versions of Windows you may need to surround parameter values with double quotes to get the install command parsing properly: ```powershell -msiexec /i C:\Users\Administrator\Downloads\windows_exporter.msi ENABLED_COLLECTORS="ad,iis,logon,memory,process,tcp,thermalzone" TEXTFILE_DIR="C:\custom_metrics\" +msiexec /i C:\Users\Administrator\Downloads\windows_exporter.msi ENABLED_COLLECTORS="ad,iis,logon,memory,process,tcp,textfile,thermalzone" TEXTFILE_DIR="C:\custom_metrics\" ``` Powershell versions 7.3 and above require [PSNativeCommandArgumentPassing](https://learn.microsoft.com/en-us/powershell/scripting/learn/experimental-features?view=powershell-7.3) to be set to `Legacy` when using `--% EXTRA_FLAGS`: