Prometheus + Grafana 监控系统搭建使用指南-elasticsearch_exporter 安装配置

时间:2025-05-13 08:10:18
useradd esadmin vim /etc/systemd/system/elasticsearch_exporter.service # 内容如下: [Unit] Description=Redis Exporter After= [Service] User=esadmin ExecStart=/home/work/software/elasticsearch_exporter/elasticsearch_exporter \ -- \ -- \ -- \ -- \ --="_local" \ --es.indices_settings \ -- \ --=15s \ ---skip-verify \ --=5m \ -- http://elastic:elastic_password@127.0.0.1:9200 \ ---address=:9114 ExecReload=/bin/kill -HUP Restart=on-failure [Install] WantedBy=