私はPrometheusを初めて使っていて、私のRHEL 6サーバにPrometheusをインストールしようとしています。 私は以下のように設定ファイルで詳細を埋めてきたポスト、RHEL用のRPMをインストールしている:私はプロメテウスを起動しようとするとPrometheusスタートアップクエリ
global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: linux
target_groups:
-targets: ['192.17.36.189:3306']
labels:
alias: db1
、私は次のエラーを取得する:
INFO[0000] Starting prometheus (version=1.1.2, branch=master, revision=36fbdcc30fd13ad796381dc934742c559feeb1b5) source=main.go:73
INFO[0000] Build context (go=go1.6.3, [email protected], date=20160908-13:12:43) source=main.go:74
INFO[0000] Loading configuration file prometheus.yml source=main.go:221
ERRO[0000] Error loading config: couldn't load configuration (-config.file=prometheus.yml): yaml: line 6: found character that cannot start any token source=main.go:126
何ここでの問題ですか?
ありがとう私はそれを起動することができますが、localhost:9090ページが開かれていません..何が問題になる可能性がありますか? – tesla747