1.环境

centos7

prometheus-2.10.0.linux-amd64.tar.gz

node_exporter-0.18.1.linux-amd64.tar.gz

2.安装

创建systemd服务

vim /etc/systemd/system/node_exporter.service

[Unit]
Description=node_exporter
After=network.target

[Service]
Type=simple
User=root
ExecStart=/data/app/node_exporter/node_exporter
Restart=on-failure

[Install]
WantedBy=multi-user.target

启动node_exporter

systemctl daemon-reload
systemctl start node_exporter
systemctl status node_exporter

systemctl enable node_exporter

prometheus 默认端口 9090

node_exporter 默认端口 9100

最新文章

  1. 在代码中调用gdb
  2. Spring 通过FactoryBean配置Bean
  3. OpenGL函数解析之gluPerspective()
  4. Java 数据结构之Stack
  5. 每天一道LeetCode--172. Factorial Trailing Zeroes
  6. Windows下虚拟Linux
  7. Sass中常用的函数
  8. Microsoft Visual Studio 产品密钥
  9. Http请求和响应报文基础知识
  10. Python 3 利用 Dlib 19.7 和 sklearn机器学习模型 实现人脸微笑检测
  11. [Baltic2004]数字序列
  12. app控件唯一相对Xpath自动生成(增强版uiautomatorviewer)
  13. 解决Chrome浏览器访问https提示“您的连接不是私密连接”的问题
  14. 2019省赛训练组队赛3.26周二---FJUT 2016
  15. php项目核心业务(增、删、改、查)(第三篇)
  16. keras 的svm做分类
  17. Git 别名(分布式版本控制系统)
  18. zookeeper 选举
  19. 使用CAReplicatorLayer [2]
  20. net core mysql 组件记录

热门文章

  1. Java集合源码分析之ArrayList(JDK1.8)
  2. python27期尚哥讲数据库:
  3. ESA2GJK1DH1K升级篇: STM32远程乒乓升级,基于Wi-Fi模块(ESP8266)AT指令TCP透传方式,MQTT通信控制升级(加入数据校验)
  4. 如何在Ubuntu的idea上运行Hadoop程序
  5. Loj #2553. 「CTSC2018」暴力写挂
  6. python-3-条件判断练习题
  7. paramiko 远程执行多个命令
  8. undefined reference的一种case
  9. WebApplicationInitializer启动分析
  10. C#使用FileSystemWatcher来监控指定文件夹,并使用TCP/IP协议通过Socket发送到另外指定文件夹