目次

概要

ZABBIXエージェントではサポートしていない数値(ネットワークトラフィックなど)を取得する際にはパフォーマンスカウンタを使用する方法がある。

これは、[コントロールパネル]→[管理ツール]→[パフォーマンス]にて閲覧できる値を取得できる機能で、OSが表示している各種パフォーマンス情報のデータとなる。


  • パフォーマンスモニタ pref_1.png

    [Network Interface]、[Processor]などのオブジェクトの中に値を意味するカウンタ([Bytes Total/sec]など)が格納されている。
    また、複数のNICが存在する場合などにはインスタンスにて取得するデバイスを指定する。
  • カウンタの表示画面 pref_2.png

パフォーマンスカウンタのオブジェクト

パフォーマンスカウンタのオブジェクトはtypeperfコマンドにて取得することができる。

  • typeperf実行例
    > typeperf -q
    \MSDTC Bridge 3.0.0.0\Message send failures/sec
    \MSDTC Bridge 3.0.0.0\Prepare retry count/sec
    \MSDTC Bridge 3.0.0.0\Commit retry count/sec
    \MSDTC Bridge 3.0.0.0\Prepared retry count/sec
    \MSDTC Bridge 3.0.0.0\Replay retry count/sec
    \MSDTC Bridge 3.0.0.0\Faults received count/sec
    〜以下略



情報量が多いため、以下のように絞り込むことが出来る。

  • Processor関係のみ表示
    > typeperf -qx "Processor"
    \Processor(0)\% Processor Time
    \Processor(1)\% Processor Time
    \Processor(_Total)\% Processor Time
    \Processor(0)\% User Time
    \Processor(1)\% User Time 
    \Processor(_Total)\% User Time

  • Network Interface関連のみ表示
    > typeperf -qx "Network Interface"
    \Network Interface(Juniper Network Connect Virtual Adapter - \Network Interface(Intel[R] PRO_1000 MT Network Connection - \Network Interface(AMD PCNET Family PCI Ethernet Adapter - \Network Interface(MS TCP Loopback interface)\Bytes Total/sec
    \Network Interface(Juniper Network Connect Virtual Adapter - \Network Interface(Intel[R] PRO_1000 MT Network Connection - \Network Interface(AMD PCNET Family PCI Ethernet Adapter - \Network Interface(MS TCP Loopback interface)\Packets/sec

アイテム設定

アイテムは以下の要領にて設定を行う。

タイプZABBIXエージェント
キーperf_counter[<オブジェクト>(<インスタンス>)\<カウンタ>]
データ型数値(浮動少数)
  • 例(ネットワーク負荷(送信のみ) / NIC1(VMwaer NIC))
    perf_counter[\Network Interface(VMware Accelerated AMD PCNet Adapter)\Bytes Sent/sec]

トリガー設定

トリガー設定は他の監視と同等

参考資料

http://www.voice-com.net/news/winpfm/


添付ファイル: filepref_2.png 1727件 [詳細] filepref_1.png 1589件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2014-03-10 (月) 14:57:26 (3702d)