Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update host-integrations-standard-configuration-format.mdx #16493

Merged
merged 6 commits into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading