인프라 모니터링 에이전트를 시작하는 가장 빠른 방법은 안내 설치를 이용하는 것입니다. EU 지역의 사용자는 EU 안내 설치를 확인하시기 바랍니다. 아직 뉴렐릭 계정이 없으시다면 아래에서 무료로 계정을 신청하십시오.
단계별 지침
에이전트를 수동으로 설치할 수 있습니다. 인프라를 설치하기 전에 다음을 확인하십시오.
요구 사항을 검토합니다.
유효한
가 필요합니다.
Linux에 인프라를 설치하려면 다음 지침을 따르십시오.
구성 파일을 생성하고 를 추가합니다.
$echo "license_key: YOUR_LICENSE_KEY" | sudo tee -a /etc/newrelic-infra.yml
배포 버전 번호를 확인합니다.
뉴렐릭의 GPG 키 활성화:
$curl -fsSL https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/newrelic-infra.gpg
$curl -fsSL https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/newrelic-infra.gpg
$curl https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg -s | sudo gpg --import
중요
zypper 패키지 관리자에는 GPG 키가 이전 SLES 버전에서 예상대로 검증되지 않을 수 있다는 문제가 있습니다. Signature verification failed
같은 오류가 발생하면 인프라 에이전트를 버전 1.44.0 이상으로 업데이트하십시오.
인프라 모니터링 에이전트 리포지토리를 추가합니다.
Debian 10 ("Buster")
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt buster main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Debian 11 ("Bullseye")
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt bullseye main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Debian 12 ("Bookworm")
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt bookworm main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 16.04 LTS (Xenial Xerus)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 18.04 LTS (Bionic Beaver)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt bionic main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 20.04 LTS (Focal Fossa)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt focal main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 20.10 (Groovy Gorilla)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt groovy main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 21.04 (Hirsute Hippo)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt hirsute main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Ubuntu 22.04 (Jammy Jellyfish)
$echo "deb https://download.newrelic.com/infrastructure_agent/linux/apt/ jammy main" | sudo tee -a /etc/apt/sources.list.d/newrelic-infra.list
Amazon Linux 2 (x86)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/amazonlinux/2/x86_64/newrelic-infra.repo
Amazon Linux 2 (arm64)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/amazonlinux/2/aarch64/newrelic-infra.repo
Amazon Linux 2023 (x86)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/amazonlinux/2023/x86_64/newrelic-infra.repo
Amazon Linux 2023 (arm64)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/amazonlinux/2023/aarch64/newrelic-infra.repo
CentOS, RHEL, Oracle Linux 7.x (x86)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/7/x86_64/newrelic-infra.repo
CentOS RHEL, Oracle Linux 7.x (arm64)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/7/aarch64/newrelic-infra.repo
CentOS, RHEL, Oracle Linux 8.x (x86)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/8/x86_64/newrelic-infra.repo
CentOS, RHEL, Oracle Linux 8.x (arm64)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/8/aarch64/newrelic-infra.repo
RHEL 9.x (x86)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/9/x86_64/newrelic-infra.repo
RHEL 9.x (arm64)
$sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/el/9/aarch64/newrelic-infra.repo
SLES 12.5 (x86)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/12.5/x86_64/newrelic-infra.repo
SLES 12.5 (ARM)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/12.5/aarch64/newrelic-infra.repo
SLES 15.2 (x86)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.2/x86_64/newrelic-infra.repo
SLES 15.2 (ARM)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.2/aarch64/newrelic-infra.repo
SLES 15.3 (x86)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.3/x86_64/newrelic-infra.repo
SLES 15.3 (ARM)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.3/aarch64/newrelic-infra.repo
SLES 15.4 (x86)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.4/x86_64/newrelic-infra.repo
SLES 15.4 (ARM)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.4/aarch64/newrelic-infra.repo
SLES 15.4 (x86)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.5/x86_64/newrelic-infra.repo
SLES 15.4 (ARM)
$sudo curl -o /etc/zypp/repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/zypp/sles/15.5/aarch64/newrelic-infra.repo
저장소 새로 고침:
루트(기본값), 권한 있는 사용자 또는 권한 없는 사용자 모드에서 newrelic-infra
패키지를 설치합니다. 각 실행 모드에 대한 자세한 내용은 Linux 에이전트 실행 모드를 참조하십시오.
libcap 라이브러리를 설치하고 NRIA_MODE
환경 변수를 PRIVILEGED
로 설정합니다.
libcap 라이브러리를 설치하고 NRIA_MODE
환경 변수를 UNPRIVILEGED
로 설정합니다.
인프라 모니터링 에이전트가 설치 또는 업데이트되면 에이전트 상태를 시작, 중지 또는 확인할 수 있습니다.
에이전트 업데이트
인프라 모니터링 에이전트를 업데이트하려면 표준 절차를 따르십시오.
sudo
를 사용해 에이전트를 설치 또는 업데이트하는 경우 -E
인수를 사용해 환경 변수를 우회하도록 허용하거나 sudo
바로 뒤에 NRIA_MODE
환경 변수를 지정해야 합니다.
$export NRIA_MODE="SET_MODE_HERE"
또는
$sudo -E YOUR_PACKAGE_MANAGER_UPDATE_COMMAND
다음 단계는?
약간의 트래픽을 생성하고 몇 분 정도 기다린 다음 뉴렐릭 UI에서 호스트를 확인합니다. 데이터가 표시되지 않으면, 문제 해결 절차를 따르십시오.
중요
서버의 호스트 이름은 localhost
일 수 없습니다. 해당 이름을 가진 서버에 대한 데이터는 보고되지 않습니다. 호스트 이름이 고유한 이름을 사용하는지 확인하십시오.
유일한 필수 구성 옵션은 설치 절차의 일부로 생성되는 license_key
설정입니다. 다음을 수행할 수도 있습니다.