Skip to content

Commit add688e

Browse files
committed
[DOCS-12980] Add agentConfiguration parameter instructions
1 parent 708fb09 commit add688e

File tree

1 file changed

+28
-0
lines changed
  • content/en/getting_started/integrations

1 file changed

+28
-0
lines changed

content/en/getting_started/integrations/azure.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,34 @@ To install the Agent based on operating system or CI and CD tool, see the [Datad
317317

318318
**Note**: Domain controllers are not supported when installing the Datadog Agent with the Azure extension.
319319

320+
#### Apply a custom configuration with the agentConfiguration parameter
321+
322+
You can use the `agentConfiguration` parameter to apply custom configurations to your Agents. Expand the section corresponding with your operating system below for instructions.
323+
324+
{{% collapse-content title="Windows" level="h5" id="extension-custom-configuration-windows" %}}
325+
1. After installing the Agent, apply any desired [Agent configurations][300].
326+
2. Navigate to `%ProgramData%\Datadog`. Remove any extra installation artifacts or files that may be present. Ensure that the folder contains only:
327+
- `datadog.yaml`
328+
- `conf.d` folder containing your integration configurations
329+
3. Save the sanitized `%ProgramData%\Datadog` folder as a zip file.
330+
4. Generate a hash of the zipped folder using the PowerShell command `Get-FileHash %ProgramData%\Datadog.zip -Algorithm SHA256`. Reference this hash in the Terraform block with the `agentConfigurationChecksum` parameter.
331+
5. Upload the file to blob storage.
332+
6. Reference the blob storage URL in the Terraform block with the `agentConfiguration` parameter to create the VM extension.
333+
334+
[300]: /agent/guide/agent-configuration-files/?tab=agentv6v7
335+
{{% /collapse-content %}}
336+
337+
{{% collapse-content title="Linux" level="h5" id="extension-custom-configuration-linux" %}}
338+
1. After installing the Agent, apply any desired [Agent configurations][400].
339+
2. Save the `/etc/datadog-agent` folder as a zip file, using the command `zip -r datadog_config.zip /etc/datadog-agent`.
340+
3. Generate a hash of the zipped folder using the command `sha256sum datadog_config.zip`. Reference this hash in the Terraform block with the `agentConfigurationChecksum` parameter.
341+
4. Upload the file to blob storage.
342+
5. Reference the blob storage URL in the Terraform block with the `agentConfiguration` parameter to create the VM extension.
343+
344+
[400]: /agent/guide/agent-configuration-files/?tab=agentv6v7
345+
{{% /collapse-content %}}
346+
347+
320348
[1]: /getting_started/site/
321349
[2]: https://app.datadoghq.com/organization-settings/api-keys
322350
[3]: https://app.datadoghq.com/account/settings/agent/latest

0 commit comments

Comments
 (0)