Agent Control이 플릿위험에 안전하게 연결하려면 유효한 인증 자격 증명이 필요합니다. 처음에 이 자격 증명은 에이전트 Control 설치 UI 통해 자동 생성되며 값 파일의 systemIdentity.parentIdentity.clientId 및 systemIdentity.parentIdentity.clientSecret 필드로 표시됩니다. 보안상의 이유로 에이전트 Control 설치에 필요한 인증정보는 12시간 후 만료됩니다.
BackoffLimitExceeded 오류로 인해 설치가 실패하는 경우 자격 증명이 만료되었거나 유효하지 않은 경우가 많습니다.
로그를 검토한 후 Helm을 사용하여 설치를 다시 시도하고 특정 오류 메시지가 있는지 살피고 로그를 확인하여 잠재적인 문제를 파악합니다. 알려진 문제와 이를 해석하는 방법은 다음과 같습니다.
잘못된 identityClientId:Error getting system identity auth token. The API endpoint returned 404: Failed to find Identity: <identityClientId-value>
잘못된 identityClientSecret:Error getting system identity auth token. The API endpoint returned 400: Bad client secret.
신원 만료됨:Error getting system identity auth token. The API endpoint returned 400: Expired client secret.
필수 권한이 없습니다:Failed to create a New Relic System Identity for Fleet Control communication authentication. Please verify that your User Key is valid and that your Account Organization has the necessary permissions to create a System Identity: Exception while fetching data (/create) : Not authorized to perform this action or the entity is not found.
OpenTelemetry 수집기 구현, 배포 파드의 로그에 아래와 같은 오류 메시지가 표시되면 잘못된 뉴렐릭 볼륨 키를 나타낼 수 있습니다. 이로 인해 수집기가 텔레메트리 데이터를 뉴렐릭으로 내보낼 수 없게 됩니다.
bash
2024-06-13T13:46:05.898Z error exporterhelper/retry_sender.go:126 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "otlphttp/newrelic", "error": "Permanent error: error exporting items, request to https://otlp.nr-dat ││ go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send
해결책
설정에서 유효한 뉴렐릭 클러스터 키를 사용하고 있는지 확인하세요.
관리되는 에이전트의 파드가 생성되지 않는 경우 HelmRelease에 문제가 있을 수 있습니다.
Helm 릴리스 상태를 확인하세요.
bash
$
kubectl get helmrelease open-telemetry -n newrelic
성공적이고 건강한 릴리스에는 READY: True 및 STATUS: InstallSucceeded 표시되어야 합니다.
릴리스가 실패하면 STATUS 및 READY 필드에 문제가 표시됩니다. 오류 유형에 따라서는 근본적인 문제가 상태 필드에 완전히 반영되지 않을 수도 있습니다. 더 자세한 내용을 보려면 kubectl 사용하여 HelmRelease 리소스를 설명하세요.
helm delete 명령이 실행 중에 취소되면 작업 제거 프로그램은 계속 작동하여 차트와 리소스를 삭제하지만, 'regi-control-buttstrlap' helm secret은 여전히 남아 있을 수 있습니다. 이 경우 차트를 업그레이드하거나 설치할 수 없으며 다음과 같은 오류가 발생합니다.
Error: UPGRADE FAILED: "agent-control-bootstrap" has no deployed releases
제거 작업을 다시 실행해도 작동하지 않으며, 제거 작업 로그에 다음과 같은 오류가 표시됩니다.
Error: uninstall: Release not loaded: agent-control-cd: release: not found
해결책
릴리스에서 모든 Helm 시크릿을 삭제합니다(릴리스 이름이 변경된 경우 '릴리스 이름'을 '컨트롤-부트스트랩'으로 변경하세요).
Info K8s/Flux/Charts [Successfully collected Flux Helm Charts]
Info K8s/Resources/Config [Successfully collected K8s configMaps ]
Info K8s/AgentControl/agent-control-status-server [Successfully collected K8s agent-control status se...]
Info K8s/Resources/Daemonset [Successfully collected K8s newrelic-infrastructure...]
Info K8s/Resources/Pods [Successfully collected K8s newrelic-infrastructure...]
Info K8s/Flux/Repositories [Successfully collected Flux Helm Repositories]
Info K8s/AgentControl/helm-controller-logs [Successfully collected K8s agent-control helm-cont...]
Info K8s/Env/Version [kubectl version output successfully collected]
Info K8s/Resources/Deploy [Successfully collected K8s newrelic-infrastructure...]
Info K8s/Helm/Releases [Successfully collected the list of helm releases]
Info K8s/AgentControl/agent-control-logs [Successfully collected K8s agent-control agent-con...]
Info K8s/Flux/Releases [Successfully collected Flux Helm Releases]
Info K8s/AgentControl/source-controller-logs [Successfully collected K8s agent-control source-co...]
See nrdiag-output.json for full results.
에이전트 제어와 관련된 모든 로그 및 리소스는 현재 디렉터리의 nrdiag_output.zip 파일에 저장됩니다. 압축 파일의 내용을 분석하거나 추가 지원을 위해 뉴럴릭 지원팀 에 지원 테이블을 열어 문의할 수 있습니다.
Linux 호스트 문제 해결, 해결
오류 메시지 Installing agent-control (Unsupported) 를 받으면 시스템 요구사항을 확인하고 지원되는 OS 버전을 실행하고 있는지 확인하세요.
Installing agent-control (Failed) 표시되면 다음 단계를 따르세요.
설치 스크립트와 함께 제공되는 로그를 확인하십시오.
Error creating an identity 표시되면 사용자 키가 모든 제품 관리자 역할을 가진 플랫폼 사용자에게 속하는지 확인하십시오.
newrelic-agent-control 서비스의 상태를 확인하세요:
bash
$
sudo systemctl status newrelic-agent-control
서비스가 failed 또는 stopped 상태로 표시되면 에이전트가 설치되었지만 정상적인 작동을 방해하는 문제가 있음을 의미합니다. journalctl (또는 이와 유사한 Linux 도구)를 사용하여 에이전트 서비스 로그를 확인하십시오.
bash
$
journalctl -u newrelic-agent-control
사용 가능한 인사이트가 없는 경우, 서비스가 시작되지 않는 이유를 설명하는 자세한 로그에 액세스하기 위해 디버그 모드에서 도구를 실행하는 방법을 확인하십시오.
서비스가 설치되지 않은 경우 안내 설치 의 CLI 설치 명령 끝에 --debug 추가하고 다시 실행해 보세요. 이 기능을 사용하면 설치 스크립트에 대한 자세한 로깅이 활성화되어 오류를 설명하는 추가적인 컨텍스트를 제공할 수 있습니다.
선택적으로 문제 해결, 설치 해결을 돕기 위해 로그를 뉴렐릭으로 보내라는 메시지가 표시되면 yes 에 응답하세요. 제출이 완료되면 다음 NRQL 쿼리를 사용하여 로그에 액세스할 수 있습니다.
SELECT*FROM Log WHERE hostname =`your-host-name`
로그에 액세스하려면 먼저 다음 단계를 따라 에이전트 로깅을 활성화해야 합니다.
파일 로깅을 활성화하려면 에이전트 제어 구성 파일에서 log 설정을 사용하십시오.
# Fleet Control connection settings
#fleet_control:
# managed agents settings
#agents:
# agent logging settings
log:
level: debug
file:
enabled:true
# Add a custom path if needed, default directory: /var/log/newrelic-agent-control/agent-control/
# Logs rotate daily, so the file name is prefixed with the current date, e.g. 2026-09-18.newrelic-agent-control.log
# path: "/path/to/agent-control.log"
# Optional formatting settings
format:
# Include the target module (disabled by default for better readability)
target:true
# Custom timestamp format "%Y-%m-%dT%H:%M:%S"
timestamp:"%Y"
로그 레벨의 가능한 값은 다음과 같습니다.
trace
debug
info (기본)
warning
error
레벨이 debug 또는 trace 인 경우 기본 인프라 에이전트 및/또는 OpenTelemetry 수집기의 로그가 포함됩니다.
에이전트 제어를 다시 시작하십시오:
bash
$
sudo systemctl restart newrelic-agent-control
file 로그가 활성화된 경우, path 설정의 디렉터리에서 가장 최근 로그 파일을 확인하십시오(파일에는 날짜가 지정되어 있습니다. 예: 2026-09-18.newrelic-agent-control.log). 또는 journalctl -u newrelic-agent-control 등 선호하는 로그 문제 진단, 해결 도구를 사용하십시오.
"last_error":"process exited with code: exit status: 1",
"start_time_unix_nano":1730000000000000000,
"status_time_unix_nano":1730000010000000000
}
}
}
}
에이전트 컨트롤은 플릿위험으로부터 원격 설정을 수신하고 적용하기 전에 특정 검증을 수행합니다. 또한 구성은 유효한 형식(예: 유효한 .yaml 구조)을 가질 수 있지만 특정 설정에 대해 예상치 못한 값(예: integer 가 예상되는 경우 string)을 포함할 수 있습니다. 다음 표는 지원되는 다양한 에이전트에서 발생하는 일반적인 오류를 보여줍니다.
에이전트 유형
오류
문제 해결, 해결 노트
(모든 에이전트)
원격 구성 적용 중 오류 발생: 구성을 확인할 수 없습니다.
설정 형식을 검토하세요. 설정이 유효한 .yaml 파일이 아니거나 필수 필드가 누락되었을 수 있습니다.
(모든 에이전트)
잘못된 구성: 제한된 값이 감지되었습니다
설정 내용을 검토하세요. 공격, 목표 에이전트 유형에 대해서는 보안 정책에 따라 특정 설정을 사용하지 못할 수 있습니다.
(모든 에이전트)
exit code 1
설정을 검토하세요. 예상치 못한 값으로 인해 에이전트가 예기치 않은 오류와 함께 종료되고 있습니다.
인프라 에이전트
exit code 1
설정을 검토하세요. 예상치 못한 값으로 인해 인프라 에이전트가 예기치 않은 구성으로 종료되고 있습니다. 지원되는 설정을 검토하십시오.
Windows 호스트 문제 해결, 문제 해결
에이전트 제어가 실행 중이 아니거나 정상 상태가 아닌 경우 다음 진단 단계를 순서대로 따르십시오.
1. 서비스 상태를 확인하십시오:
Get-Service-Name newrelic-agent-control
예상값: Status : Running. 정지했거나 누락된 경우 2단계로 진행하십시오.
2. 서비스 로그를 확인하세요:
가장 최근의 로그 파일을 확인하십시오(로그 파일은 2026-02-09.newrelic-agent-control.log과(와) 같이 날짜 접두사로 이름이 지정됩니다):