Prometheus node_exporter grafana部署安装
2024-08-24 09:39:16
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
最新文章
- 在代码中调用gdb
- Spring 通过FactoryBean配置Bean
- OpenGL函数解析之gluPerspective()
- Java 数据结构之Stack
- 每天一道LeetCode--172. Factorial Trailing Zeroes
- Windows下虚拟Linux
- Sass中常用的函数
- Microsoft Visual Studio 产品密钥
- Http请求和响应报文基础知识
- Python 3 利用 Dlib 19.7 和 sklearn机器学习模型 实现人脸微笑检测
- [Baltic2004]数字序列
- app控件唯一相对Xpath自动生成(增强版uiautomatorviewer)
- 解决Chrome浏览器访问https提示“您的连接不是私密连接”的问题
- 2019省赛训练组队赛3.26周二---FJUT 2016
- php项目核心业务(增、删、改、查)(第三篇)
- keras 的svm做分类
- Git 别名(分布式版本控制系统)
- zookeeper 选举
- 使用CAReplicatorLayer [2]
- net core mysql 组件记录
热门文章
- Java集合源码分析之ArrayList(JDK1.8)
- python27期尚哥讲数据库:
- ESA2GJK1DH1K升级篇: STM32远程乒乓升级,基于Wi-Fi模块(ESP8266)AT指令TCP透传方式,MQTT通信控制升级(加入数据校验)
- 如何在Ubuntu的idea上运行Hadoop程序
- Loj #2553. 「CTSC2018」暴力写挂
- python-3-条件判断练习题
- paramiko 远程执行多个命令
- undefined reference的一种case
- WebApplicationInitializer启动分析
- C#使用FileSystemWatcher来监控指定文件夹,并使用TCP/IP协议通过Socket发送到另外指定文件夹