• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

포트 모니터링 통합

TCP, UDP 등 네트워킹 포트에 대한 포트 모니터링 통합 모니터 상태를 확인하고, 업타임 및 중단 데이터를 뉴렐릭에 보고합니다.

이 통합은 Github에서 오픈 소스 로 릴리스되었습니다. 최신 업데이트에 대한 변경 로그도 제공됩니다. 이 통합에 대한 지원은 Expert Services 구독 으로 제공됩니다.

통합 설치

통합을 설치하려면 아래 단계를 따르세요.

인프라 에이전트 설치

포트 모니터링 통합을 사용하려면 먼저 동일한 호스트에 인프라 에이전트를 설치 해야 합니다. 모든 온호스트 통합에는 지표를 뉴렐릭에 노출하고 보고하는 데 도움이 되는 베어링 에이전트가 필요합니다.

통합 다운로드 및 준비

  1. GitHub 리포지터리 에서 tar 파일을 다운로드하고 압축을 풉니다.

    bash
    $
    wget https://github.com/newrelic/nri-port-monitor/releases/download/1.3/nri-port-monitor.tar.gz && tar -zxvf nri-port-monitor.tar.gz
  2. nri-port-monitor 실행 파일이 있는 bin 디렉토리를 /var/db/newrelic-infra/newrelic-integrations 에 복사합니다. port-monitor-definition.yml 구성 파일에 대해 동일한 작업을 수행합니다.

    bash
    $
    cp nri-port-monitor/bin/port-monitor /var/db/newrelic-infra/newrelic-integrations/bin/ && cp nri-port-monitor/port-monitor-definition.yml /var/db/newrelic-infra/newrelic-integrations/
  3. 올바르게 실행될 수 있도록 바이너리 파일 nr-port-monitor 에 대한 실행 권한을 설정합니다.

    bash
    $
    chmod +x /var/db/newrelic-infra/newrelic-integrations/bin/port-monitor

통합 구성

  1. 설정 파일을 이동하고 이름을 바꿉니다.

    bash
    $
    cp nri-port-monitor/port-monitor-config.yml.sample /etc/newrelic-infra/integrations.d/port-monitor-config.yml
  2. port-monitor-config.yml 열고 모니터링하려는 모든 포트 인스턴스로 구성을 편집합니다.

    integration_name: com.newrelic.tcp-port-monitor
    instances:
    - name: <INSTANCE IDENTIFIER>
    command: metrics
    arguments:
    address: localhost:80
    network: tcp
    timeout: 5
    labels:
    env: prod

데이터 찾기

포트 모니터링 데이터를 쉽게 찾으려면 사전 구축된 대시보드를 다운로드하세요.

  1. one.newrelic.com

    으로 이동하여

    + Integrations & Agents

    를) 클릭합니다.

  2. Dashboards

    탭을 클릭하세요.

  3. 검색 창에서

    Port Monitoring

    ) 검색하세요.

  4. 포트 모니터링 대시보드를 클릭하여 설치하세요.

    다음은 구성된 포트의 상태를 반환하는 NRQL 쿼리의 예입니다.

    SELECT latest(status) FROM NetworkPortSample FACET address SINCE 30 MINUTES AGO TIMESERIES
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.