Nfsstat

Supported OS Linux

통합 버전3.0.0

개요

NFS 통합은 NFS 클라이언트에서 연결 지점에 관한 메트릭을 수집합니다. 통합에서는 nfsiostat 도구를 사용해 NFS 클라이언트 당 연결 통계를 표시합니다.

설정

호스트에서 실행되는 Agent에 대해 이 검사를 설치하고 구성하려면 아래 지침을 따르세요.

설치

NFSstat 점검에는 Datadog 에이전트 패키지가 포함되어 있으므로 서버에 다른 것을 설치할 필요가 없습니다.

구성

에이전트 설정 디렉토리의 루트에 있는 conf.d/ 폴더에서 nfsstat.d/conf.yaml 파일을 편집합니다. nfsiostat 바이너리 스크립트를 가리키거나 바이너리 설치기에 포함된 것 하나를 사용합니다. 사용할 수 있는 모든 구성 옵션을 보려면 nfsstat.d/conf.yam 샘플을 확인하세요.

로그 수집

  1. 로그 수집은 Datadog 에이전트에서 기본적으로 비활성화되어 있습니다. datadog.yaml에서 다음을 설정해 활성화합니다.

    logs_enabled: true
    
  2. 이 설정 블록을 nfsstat.d/conf.yaml 파일에 추가하여 NFSstat 로그 수집을 시작하세요.

    logs:
      - type: file
        path: /var/log/messages
        source: nfsstat
    

    path 파라미터 값을 변경하고 환경에 맞게 설정합니다. 사용 가능한 모든 설정 옵션은 샘플 nfsstat.d/conf.yaml을 참고하세요.

  3. Agent를 재시작합니다.

검증

에이전트의 status 상태 하위 명령을 실행하고 점검 섹션에서 nfsstat를 찾습니다.

수집한 데이터

메트릭

system.nfs.ops
(gauge)
operations per second
Shown as operation
system.nfs.read.exe
(gauge)
this is the time between making a read rpc request and the request being completed
Shown as millisecond
system.nfs.read.ops
(gauge)
this is the number of read operations per second
Shown as operation
system.nfs.read.retrans
(gauge)
this is the number of retransmissions in read operations
Shown as operation
system.nfs.read.retrans.pct
(gauge)
this is the percent of retransmissions in read operations
Shown as percent
system.nfs.read.rtt
(gauge)
read operation round trip time
Shown as millisecond
system.nfs.read_per_op
(gauge)
this is the number of kibibytes read per operation
Shown as kibibyte
system.nfs.read_per_s
(gauge)
this is the number of kibibytes read per second
Shown as kibibyte
system.nfs.rpc_bklog
(gauge)
length of the backlog queue
Shown as item
system.nfs.write.exe
(gauge)
this is the time between making a write rpc request and the request being completed
Shown as millisecond
system.nfs.write.ops
(gauge)
this is the number of write operations per second
Shown as operation
system.nfs.write.retrans
(gauge)
this is the number of retransmissions in write operations
Shown as operation
system.nfs.write.retrans.pct
(gauge)
this is the percent of retransmissions in write operations
Shown as percent
system.nfs.write.rtt
(gauge)
write operation round trip time
Shown as millisecond
system.nfs.write_per_op
(gauge)
this is the number of kibibytes written per operation
Shown as kibibyte
system.nfs.write_per_s
(gauge)
this is the number of kibibytes written per second
Shown as kibibyte

이벤트

Nfsstat 점검은 이벤트를 포함하지 않습니다.

서비스 점검

Nfsstat 점검에는 서비스 점검이 포함되어 있지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.

참고 자료

PREVIEWING: aliciascott/DOCS-9725-Cloudcraft