当前位置: 首页 > news >正文

wordpress 网站上传到服务器错误怎么建设手机网站

wordpress 网站上传到服务器错误,怎么建设手机网站,三一crm手机客户端下载,温州品牌网站设计文章目录一、下载linux版本的elasticsearch_exporter二、解压安装包三、创建启动服务文件四、启动服务五、查看端口和服务六、prometheus-server配置七、动态重启配置文件一、下载linux版本的elasticsearch_exporter 下载地址:https://github.com/prometheus-commu…

文章目录

  • 一、下载linux版本的elasticsearch_exporter
  • 二、解压安装包
  • 三、创建启动服务文件
  • 四、启动服务
  • 五、查看端口和服务
  • 六、prometheus-server配置
  • 七、动态重启配置文件

一、下载linux版本的elasticsearch_exporter

下载地址:https://github.com/prometheus-community/elasticsearch_exporter

wget https://github.com/prometheus-community/elasticsearch_exporter/releases/download/v1.5.0/elasticsearch_exporter-1.5.0.linux-amd64.tar.gz

二、解压安装包

tar -zxf elasticsearch_exporter-1.5.0.linux-amd64.tar.gz -C /data
mv /data/elasticsearch_exporter-* /data/elasticsearch_exporter
chown -R root.root /data/elasticsearch_exporter

三、创建启动服务文件

vim /usr/lib/systemd/system/elasticsearch_exporter.service
[Unit]
Description=Elasticsearch Exporter
Wants=network-online.target
After=network-online.target[Service]
User=root
Group=root
Type=simple
ExecStart=/data/es_exporter/elasticsearch_exporter \--es.all \--es.aliases \--es.cluster_settings \--es.indices \--es.indices_settings \--es.shards \--es.snapshots \--web.listen-address ":9114" \--es.ssl-skip-verify \--es.uri http://rio:ee012e12340a177f60766d35baa81955d@192.158.134.3:9200 \--es.timeout 20s \--es.clusterinfo.interval 5m
Restart=on-failure[Install]
WantedBy=multi-user.target

四、启动服务

systemctl daemon-reload
systemctl enable --now elasticsearch_exporter
systemctl status elasticsearch_exporter

五、查看端口和服务

ss -nltp|grep 9114

六、prometheus-server配置

prometheus.yml配置

scrape_configs:- job_name: 'elasticsearch-exporter'file_sd_configs:- files:- targets/elasticsearch*.yamlrefresh_interval: 2mrelabel_configs:- source_labels: [ '__address__' ]target_label: 'instance'regex: "(.*):.*"replacement: $1

elasticsearch_exporter.yaml

[root@test targets]# cat elasticsearch_exporter.yaml
- targets:- 192.158.134.8:9114- 192.158.134.9:9114- 192.158.134.11:9114labels:app: "elasticsearch-server"job: "elasticsearch-server"

七、动态重启配置文件

kill -HUP `pgrep prometheus`
http://www.dtcms.com/a/536331.html

相关文章:

  • MySQL 下载、安装及配置教程(Msi安装)
  • AWS CloudTrail 可观测最佳实践
  • 商城网站设计公司十大奢侈品排名
  • 建设部网站从哪登陆网站建设学什么书
  • STM32学习(MCU控制)(NVIC)
  • C++11新特性:强类型枚举/编译期断言/元组
  • 个人做网站的注意事项动漫做暧视频网站
  • 高并发电商架构设计与落地:从微服务拆分到全链路优化
  • 无人机电调芯片替换全解析:从 AM32 架构到 STM32F072、GD32E230 与 AT32F421 的实战对比
  • 郴州市建设网站ps软件下载免费中文版
  • 选择扬中网站建设做电商一个月可以赚多少钱
  • flutter开发的音乐搜索app
  • 介绍一下Ribbon的工作原理
  • Linux系统中安装部署开源的建站、博客工具——Halo
  • 【论文精读】STREAM:视频生成模型的时空评估新指标
  • 建设网站的模板下载福田企业网站优化有用吗
  • 网站建设公司营业范围app公司是做什么的
  • KP3310SGA线性降压无电感替代阻容降压220V转5V3.3V2.7V
  • 【 国产信创系统】udev监测USB事件
  • 洒长春菩网站建设我要浏览国外网站怎么做
  • 【JUnit实战3_16】第九章:容器内测试(上)
  • 面向对象编程练习题
  • 【FPGA】时序逻辑计数器设计级验证
  • 大连网站建设哪里好网络营销推广方法和手段有哪些
  • __工艺数据管理的范式转变:金仓数据库替代MongoDB实操实践__
  • RV1126 NO.35:OPENCV重点结构体Mat的讲解
  • 【靶场】linux提权
  • 网站优化总结报告技术类网站模板
  • 衡水网站开发报价怎么利用自媒体做网站优化
  • 深析Springboot之自动配置