Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager コマンド・定義ファイル・APIリファレンス


Yet another cloudwatch exporterのディスカバリ設定ファイル(jpc_file_sd_config_cloudwatch.yml)

〈このページの構成〉

形式

YAML形式で記述します。

- targets:
  - 監視エージェントのホスト名:Yet another cloudwatch exporterのポート番号
  labels:
    jp1_pc_exporter: JPC YA Cloudwatch Exporter
    jp1_pc_trendname: ya_cloudwatch_exporter
    jp1_pc_remote_monitor_instance: 監視エージェントのホスト名: AWS metric collector(Yet another cloudwatch exporter)

ファイル

jpc_file_sd_config_cloudwatch.yml

jpc_file_sd_config_cloudwatch.yml.model(モデルファイル)

格納先ディレクトリ

■統合エージェントホスト

Windowsの場合

  • 物理ホストのとき

    Agentパス\conf\

  • 論理ホストのとき

    共有フォルダ\jp1ima\conf\

Linuxの場合

  • 物理ホストのとき

    /opt/jp1ima/conf/

  • 論理ホストのとき

    共有ディレクトリ/jp1ima/conf/

説明

Prometheus serverがスクレイプするYet another cloudwatch exporterを設定するファイルです。

文字コード

UTF-8(BOM無し)

改行コード

Windowsの場合:CR+LF

Linuxの場合:LF

定義の反映時期

Prometheus serverのリロードAPIを実行,または,再起動したとき,Prometheus serverがスクレイプする対象となります。そのあと,jddcreatetreeコマンドおよびjddupdatetreeコマンドを実行したとき,統合オペレーション・ビューアーのツリーの表示内容に反映されます。

記述内容

- 監視エージェントのホスト名:Yet another cloudwatch exporterのポート番号

監視エージェントのホスト名には,監視エージェントのインストール時に監視モジュールをインストールしたホスト名を設定します。FQDN形式も指定できます。

Yet another cloudwatch exporterのポート番号を初期値から変更している場合は,Yet another cloudwatch exporterのポート番号の値を変更してください。