[Unit]
Description=Prometheus elasticsearch_exporter
After=local-fs.target network-online.target network.target
Wants=local-fs.target network-online.target network.target

[Service]
User=root
Nice=10
ExecStart = /usr/local/elasticsearch_exporter/elasticsearch_exporter --es.all --es.indices --es.cluster_settings --es.indices_se
ttings --es.shards --es.snapshots --es.timeout=10s --web.listen-address ":9114" --web.telemetry-path "/metrics" --es.uri http://
elastic:1qazXSW@@XXXXXX:9200
ExecStop= /usr/bin/killall elasticsearch_exporter

[Install]
WantedBy=default.target

相关文章:

  • 2021-12-06
  • 2021-08-24
猜你喜欢
  • 2022-03-04
  • 2021-11-07
  • 2022-01-25
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-02-17
相关资源
相似解决方案