Windows exporter(Hyper-V監視)のホスト用メトリック定義ファイル(metrics_windows_exporter_hyperv_host.conf)
形式
「Node exporterのメトリック定義ファイル(metrics_node_exporter.conf)」の「形式」を参照してください。
ファイル
metrics_windows_exporter_hyperv_host.conf
metrics_windows_exporter_hyperv_host.conf.model(モデルファイル)
格納先ディレクトリ
■統合マネージャーホスト
- Windowsの場合
-
-
物理ホストのとき
Managerパス\conf\imdd\plugin\jp1pccs\
-
論理ホストのとき
共有フォルダ\jp1imm\conf\imdd\plugin\jp1pccs\
-
- Linuxの場合
-
-
物理ホストのとき
/etc/opt/jp1imm/conf/imdd/plugin/jp1pccs/
-
論理ホストのとき
共有ディレクトリ/jp1imm/conf/imdd/plugin/jp1pccs/
-
説明
[統合オペレーション・ビューアー]画面の[トレンド]タブ,[ダッシュボード]タブ,および[ダッシュボード一覧]ダイアログで表示するWindows exporter(Hyper-V監視)のホスト用メトリック情報を定義するファイルです。
定義内容は,JP1/IM - Agentの製品プラグインの__metricListGetメソッド,および__timeSeriesDataGetメソッドの返却値に使用します。
JP1/IM - Managerが階層構成で,統合マネージャーから,下位マネージャーのトレンドデータ管理DBに保存されているトレンドデータを参照する場合,統合マネージャーのメトリック定義ファイルに,参照するトレンドデータのメトリックを追加する必要があります。
文字コード
UTF-8(BOM無し)
改行コード
Windowsの場合:CR+LF
Linuxの場合:LF
定義の反映時期
[統合オペレーション・ビューアー]画面の[トレンド]タブ,[ダッシュボード]タブ,[ダッシュボード一覧]ダイアログ,または,REST APIで,メトリックの情報を取得したときに反映されます。
記述内容
「Node exporterのメトリック定義ファイル(metrics_node_exporter.conf)」の「記述内容」を参照してください。
モデルファイルの設定内容(初期状態)
Windows exporter(Hyper-V監視)のホスト用メトリック定義ファイルのモデルファイルに記述されている各メトリックの設定内容(初期状態)を,次に示します。
-
hyperv_host_cpu_resources_used_percent※
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
hyperv_host_cpu_resources_used_percent
default
true
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
(sum by(instance,job,jp1_pc_nodelabel,jp1_pc_prome_hostname,vm)(rate(windows_hyperv_vm_cpu_hypervisor_run_time[$stepTime{minSeconds=\"120\"}])and $jp1im_TrendData_labels)) / ignoring(instance,job,jp1_pc_nodelabel,jp1_pc_prome_hostname,vm) group_left max (windows_cs_logical_processors) / 100000
resource_en
category
windows_hyperv
label
Percent of physical CPU resources used per VM
description
Percent of physical CPU resources used per VM
unit
%
resource_ja
category
windows_hyperv
label
VMごとに使用される物理CPUリソースの割合
description
VMごとに使用される物理CPUリソースの割合。
unit
%
- 注※
-
JP1/PFM - RM for VMのVM CPU Status(PI_VCI)レコードのUsed % (USED_PERCENT)フィールドと同等です。
-
hyperv_host_cpu_used_percent※
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
hyperv_host_cpu_used_percent
default
true
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
(sum by (instance,job,jp1_pc_category,jp1_pc_exporter,jp1_pc_nodelabel,jp1_pc_trendname,jp1_pc_prome_hostname)(rate(windows_hyperv_host_cpu_total_run_time[$stepTime{minSeconds=\"120\"}])and $jp1im_TrendData_labels)) / sum by (instance,job,jp1_pc_category,jp1_pc_exporter,jp1_pc_nodelabel,jp1_pc_trendname,jp1_pc_prome_hostname)(windows_cs_logical_processors and $jp1im_TrendData_labels) / 100000
resource_en
category
windows_hyperv
label
CPU usage rate of the physical server
description
CPU usage rate of the physical server
unit
%
resource_ja
category
windows_hyperv
label
物理サーバーのCPU使用率
description
物理サーバーのCPU使用率。
unit
%
- 注※
-
JP1/PFM - RM for VMのVM Status(PI_VI)レコードのUsed % (USED_PERCENT)フィールドと同等です。
-
hyperv_vswitch_sent_received※
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
hyperv_vswitch_sent_received
default
false
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
((rate(windows_hyperv_vswitch_bytes_received_total[$stepTime{minSeconds=\"120\"}]) and $jp1im_TrendData_labels) + (rate(windows_hyperv_vswitch_bytes_sent_total[$stepTime{minSeconds=\"120\"}]) and $jp1im_TrendData_labels)) /1024
resource_en
category
windows_hyperv
label
Network transmission and reception speed
description
Network transmission and reception speed on the virtual switch
unit
KB/sec
resource_ja
category
windows_hyperv
label
ネットワーク送受信速度
description
仮想スイッチ上のネットワークとの送受信の速度。
unit
KB/sec
- 注※
-
JP1/PFM - RM for VMのHost Network Status(PI_HNI)レコードのRate(RATE)フィールドと同等です。
-
hyperv_vswitch_received※
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
hyperv_vswitch_received
default
false
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
(rate(windows_hyperv_vswitch_bytes_received_total[$stepTime{minSeconds=\"120\"}]) and $jp1im_TrendData_labels) / 1024
resource_en
category
windows_hyperv
label
Network reception speed
description
Network reception speed per second on the virtual switch
unit
KB/sec
resource_ja
category
windows_hyperv
label
ネットワーク受信速度
description
仮想スイッチ上で1秒あたりのネットワークからの受信の速度。
unit
KB/sec
- 注※
-
JP1/PFM - RM for VMのHost Network Status(PI_HNI)レコードのRecv Rate(RECV_RATE)フィールドと同等です。
-
hyperv_vswitch_sent※
■設定内容(初期状態)
メンバー名
設定内容(初期状態)
name
hyperv_vswitch_sent
default
false
メトリック定義ファイル用promql($jp1im_TrendData_labelsを含む)
(rate(windows_hyperv_vswitch_bytes_sent_total[$stepTime{minSeconds=\"120\"}]) and $jp1im_TrendData_labels) / 1024
resource_en
category
windows_hyperv
label
Network transmission speed
description
Network transmission speed per second on the virtual switch
unit
KB/sec
resource_ja
category
windows_hyperv
label
ネットワーク送信速度
description
仮想スイッチ上で1秒あたりのネットワークへの送信の速度。
unit
KB/sec
- 注※
-
JP1/PFM - RM for VMのHost Network Status(PI_HNI)レコードのSend Rate(SEND_RATE)フィールドと同等です。