Skip to content

Commit

Permalink
Merge pull request #16493 from Dkairu/patch-13
Browse files Browse the repository at this point in the history
Update host-integrations-standard-configuration-format.mdx
  • Loading branch information
rhetoric101 authored Mar 29, 2024
2 parents f5fffb8 + cdaa5b5 commit e192551
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ integrations:
If there is no executable with this name in the above folders the agent logs an error and the integration is not executed.

<Callout variant="important">
In Windows, do not append the `.exe` extension to the name. The agent does this for you (for example, `name: nri-mysql` would look for `nri-mysql.exe` in the above folders).
In Windows, do not append the `.exe` extension to the name. The agent does this for you (for example, `name: nri-mysql` would look for `nri-mysql.exe` in the above folders).
</Callout>
</Collapser>

Expand All @@ -264,12 +264,12 @@ integrations:
exec: /usr/bin/python /opt/integrations/my-script.py --host=127.0.0.1
```

If any of the path/arguments have spaces that are part of a single element, you can use a YAML array notation:
If any of the paths or arguments have spaces that are part of a single element, you can use a YAML array notation. For Windows, be sure to escape backslashes with quotation marks like this:

```
- name: my-integration
exec:
- C:\Program Files\My Integration\integration.exe
- '"C:\Program Files\My Integration\integration.exe"'
- --host
- 127.0.0.1
- --port
Expand Down

0 comments on commit e192551

Please sign in to comment.