Prometheus Alert Manager エラー "comComponent=cluster err="広告アドレスを推論できません"と"ゴシップグリッドを初期化できません"

Prometheus Alert Manager エラー

私はPrometheusを初めて使用し、警告マネージャモジュールをインストールしようとしています。

Debian 10 では、Prometheus 2.19.2、ノードのエクスポート 1.0.1、および Alert Manager 0.21.0 を使用します。

構成ファイル:

プロメテウス:

alerting:
  alertmanagers:
  - static_configs:
    - targets:
      - localhost:9093"

アラームマネージャ:

global:
  smtp_smarthost: 'localhost:25'
  smtp_from: '[email protected]'
  smtp_auth_username: ''
  smtp_auth_password: ''
  smtp_require_tls: false

templates:
- '/etc/alertmanager/template/*.tmpl'

route:
  repeat_interval: 1h
  receiver: operations-team

receivers:
- name: 'operations-team'
  email_configs:
  - to: '[email protected]'

この問題は、起動時にエラーが発生するAlert Managerサービスに関連しています。

Jul  9 19:08:11 mail alertmanager[851]: level=warn ts=2020-07-09T17:08:11.887Z caller=cluster.go:154 component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided"

Jul  9 19:08:11 mail alertmanager[851]: level=error ts=2020-07-09T17:08:11.901Z caller=main.go:241 msg="unable to initialize gossip mesh" err="create memberlist: Failed to get final advertise address: No private IP address found, and explicit IP not provided"

インターネットで探していますが、まだ解決方法が見つかりませんでした...

どんなアイデアがありますか?

ありがとう

ベストアンサー1

--cluster.advertise-address=0.0.0.0:9093起動時に引数 ""を追加する必要があります。

おすすめ記事