Supported OS
![Linux]()
概要
NFS インテグレーションは、マウントごとの NFS クライアント統計を表示する nfsiostat ツールを使用して、NFS クライアント上のマウントポイントに関するメトリクスを収集します。
セットアップ
以下の手順に従って、このチェックをインストールし、ホストで実行中の Agent に対して構成します。
インストール
NFSstat チェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。
構成
Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの nfsstat.d/conf.yaml ファイルを編集します。nfsiostat バイナリスクリプトを指定するか、バイナリインストーラーに含まれているスクリプトを使用します。使用可能なすべてのコンフィギュレーションオプションについては、nfsstat.d/conf.yaml のサンプルを参照してください。
ログ収集
- Datadog Agent で、ログの収集はデフォルトで無効になっています。- datadog.yamlファイルでこれを有効にするには、以下の設定を更新します。
 
- NFSstat のログの収集を開始するには、次のコンフィギュレーションブロックを - nfsstat.d/conf.yamlファイルに追加します。
 - logs:
  - type: file
    path: /var/log/messages
    source: nfsstat
 
- pathのパラメーター値を変更し、環境に合わせて構成してください。
使用可能なすべての構成オプションの詳細については、サンプル nfsstat.d/conf.yaml を参照してください。
 
- Agent を再起動します。 
検証
Agent の status サブコマンドを実行し、Checks セクションで 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 のサポートチームまでお問合せください。
その他の参考資料