zoukankan      html  css  js  c++  java
  • elasticsearch_exporter带账号密码认证配置

    [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

  • 相关阅读:
    .net软件开发工程师面试题
    html笔记
    好用软件
    谷歌插件
    vue笔记
    js笔记
    数组去重
    css全局样式
    css笔记
    vscod插件
  • 原文地址:https://www.cnblogs.com/cheyunhua/p/14072781.html
Copyright © 2011-2022 走看看