prometheus03-node_exporter
发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,1.地址使用文档:https://prometheus.io/docs/guides/node-exporter/GitHub:https://github.com/prometheus/node_e
千家信息网最后更新 2025年02月01日prometheus03-node_exporter
1.地址
使用文档:https://prometheus.io/docs/guides/node-exporter/GitHub:https://github.com/prometheus/node_exporterexporter列表:https://prometheus.io/docs/instrumenting/exporters/
2.下载
wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz
3. 安装并启动
mv node_exporter-0.18.1.linux-amd64 /usr/local/node_exporter[root@zabbix-server system]# cat node_exporter.service[Unit]Description=node_exporterDocumentation=https://prometheus.io/After=network.target[Service]Type=simpleUser=prometheusExecStart=/usr/local/node_exporter/node_exporterRestart=on-failure[Install]WantedBy=multi-user.target[root@zabbix-server system]# pwd/usr/lib/systemd/system[root@zabbix-server system]# systemctl daemon-reloadsystemctl start node_exporter
4.查看 metrics
http://192.168.249.10:9100/metrics
5. prometheus 把 node_exporter加载进去
[root@zabbix-proxy sd_config]# cat prometheus-server.yml - labels: service: prometheus idc: su project: monitor targets: - 192.168.249.11:9090 - 192.168.249.10:9100[root@zabbix-proxy sd_config]# cat ../prometheus.yml# my global configglobal: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. # scrape_timeout is set to the global default (10s).# Alertmanager configurationalerting: alertmanagers: - static_configs: - targets: # - alertmanager:9093# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.rule_files: # - "first_rules.yml" # - "second_rules.yml"# A scrape configuration containing exactly one endpoint to scrape:# Here it's Prometheus itself.scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - job_name: 'prometheus' file_sd_configs: - files: ['/usr/local/prometheus/sd_config/*.yml'] refresh_interval: 5s[root@zabbix-proxy sd_config]#
6.查看
地址
文档
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
数据库为什么不能创建表
网络技术培训哪个直播平台好
数据库技术考试题目
图邦科技互联网资源交易平台
招软件开发测试
软件开发论文团队分工
黑马机器人软件开发
辽源职业技术学院计算机网络技术
手游实况足球的服务器是什么
网址注册与服务器的关系
数据库软件orecal
网络安全编制人员情况
服务器5011 错误
excel数据库怎么共享
我的世界手机版养肝服务器
搬瓦工的服务器
数据库如何安全面试题
服务器做pi节点
幼教教育软件开发
查看c3p0连接数据库
济宁移动网络技术大比武
服务器延迟测试器
java做opc服务器
思科服务器内存条16g
南通触摸屏工控机服务器
服务器空间管理器
启用不了安全中心服务器
三年级网络安全手抄报模版
一般常用的数据库
网络安全专家提醒常识