-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Hi everyone,
We've successfully implemented the Flex integration, but we're facing an issue where the events we're trying to capture aren't showing up.
When we manually run the command defined in the Flex YAML file, it executes correctly and returns the expected output. However, when Flex runs the same command, it fails with the error: exit status code 1.
Here’s what we've verified so far:
- The Execution Policy is set to Unrestricted, so we don’t believe the issue is related to script execution permissions.
- We’ve confirmed that the New Relic Infrastructure service account has read access to the script file.
Has anyone encountered something similar or have any suggestions on how to resolve this?
Below is our Sample Flex file:-
integrations:
- name: nri-flex
interval: 60s
timeout: 45s
config:
name: Test-sample
apis:
- event_type: Test-sample
shell: powershell
commands:
- run: 'powershell.exe -ExecutionPolicy Bypass -NoProfile -File "C:/Program Files/New Relic/newrelic-infra/integrations.d/sample.ps1"'
timeout: 30
Appreciate any help!
Thank You,
Amay
Metadata
Metadata
Assignees
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.