From cea8457e3ae2ed6101a6561691ecd23243a539d3 Mon Sep 17 00:00:00 2001 From: alvarocabanas Date: Tue, 23 May 2023 14:58:28 +0200 Subject: [PATCH 1/2] Add wmi_enable_proc_data flag to infrastructure agent configuration --- ...structure-agent-configuration-settings.mdx | 86 ++++++++++++++++--- 1 file changed, 72 insertions(+), 14 deletions(-) diff --git a/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx b/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx index 017d6b5d8b6..7508faf1460 100644 --- a/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx +++ b/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx @@ -624,13 +624,13 @@ For an example of how all these variables can be used, see our [sample configura - + ## Cloud variables If the agent is running in a cloud instance, the agent will try to detect the cloud type and fetch basic [metadata](/docs/integrations/new-relic-integrations/getting-started/understand-use-data-infrastructure-integrations#overview). -Metrics can also be enriched with extended cloud metadata (including custom resource tags) when [connecting the cloud provider](/docs/infrastructure/infrastructure-integrations/get-started/introduction-infrastructure-integrations#cloud) account with New Relic. +Metrics can also be enriched with extended cloud metadata (including custom resource tags) when [connecting the cloud provider](/docs/infrastructure/infrastructure-integrations/get-started/introduction-infrastructure-integrations#cloud) account with New Relic. @@ -1757,16 +1757,16 @@ Metrics can also be enriched with extended cloud metadata (including custom reso ``` NRIA_PASSTHROUGH_ENVIRONMENT="HOST,PORT,NRIA_.*" ``` - + For Windows hosts: `PATHEXT` is an MS Windows environment variable. The function is to determine which file extensions mark files that are executable from every command line. This will resolve any errors reporting '... is not recognized as the name of a cmdlet, function, script file..." for common Flex integrations: - + ``` passthrough_environment: - PATHEXT ``` - - + + - + - `max_size_mb` specifies the maximum size in MegaBytes of the infrastructure agent log file. When the file has reached this size, the current logs will be rotated into a new file. + `max_size_mb` specifies the maximum size in MegaBytes of the infrastructure agent log file. When the file has reached this size, the current logs will be rotated into a new file. When the `max_size_mb` is `0`, built-in log rotation is disabled. @@ -3075,7 +3075,7 @@ Metrics can also be enriched with extended cloud metadata (including custom reso -Infrastructure agent version 1.28.0 introduced backward-compatible improvements in logging configuration. +Infrastructure agent version 1.28.0 introduced backward-compatible improvements in logging configuration. See our [github documentation](https://github.com/newrelic/infrastructure-agent/blob/master/docs/log_configuration.md) to understand the legacy settings and how to map them to the new structure. @@ -6092,6 +6092,64 @@ If you are having problems with proxy configuration, see [Proxy troubleshooting]
+ + + Set to true to get process info from WMI and skip query access check on a restricted environment. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ YML option name + + Environment variable + + Type + + Default + + Version +
+ `enable_wmi_proc_data` + + `NRIA_ENABLE_WMI_PROC_DATA` + + boolean + + `false` + + [1.3.1](/docs/release-notes/infrastructure-release-notes/infrastructure-agent-release-notes/new-relic-infrastructure-agent-1420) +
+
## HTTP Client @@ -6108,7 +6166,7 @@ Configure the HTTP client used for backend communication. ``` http: - headers: + headers: "Proxy-Authorization": "myToken" ``` From 7544b02c97f685187faef7f7c045fe130c8fc5f5 Mon Sep 17 00:00:00 2001 From: x8a <55247916+x8a@users.noreply.github.com> Date: Tue, 23 May 2023 15:13:39 +0200 Subject: [PATCH 2/2] style(infra): style edits --- .../infrastructure-agent-configuration-settings.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx b/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx index 7508faf1460..0466f043a66 100644 --- a/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx +++ b/src/content/docs/infrastructure/install-infrastructure-agent/configuration/infrastructure-agent-configuration-settings.mdx @@ -6098,7 +6098,7 @@ If you are having problems with proxy configuration, see [Proxy troubleshooting] id="wmi_proc_data" title="wmi_proc_data" > - Set to true to get process info from WMI and skip query access check on a restricted environment. + If you set it to true, you'll get process information from WMI and you'll skip the query access check on a restricted environment.