“Node-exporter”的版本间的差异
跳到导航
跳到搜索
(→safe) |
(→debian) |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
+ | =on prome= | ||
+ | <pre> | ||
+ | vim prometheus/prometheus.yml | ||
+ | - job_name: 'cailu-web1' | ||
+ | static_configs: | ||
+ | - targets: ['521.490.10.31:9100'] | ||
+ | |||
+ | </pre> | ||
+ | |||
=safe= | =safe= | ||
<pre> | <pre> | ||
第21行: | 第30行: | ||
</pre> | </pre> | ||
− | == debian == | + | == debian and ubuntu == |
apt install prometheus-node-exporter | apt install prometheus-node-exporter | ||
+ | |||
== 用bin包 并自作启动脚本== | == 用bin包 并自作启动脚本== | ||
https://computingforgeeks.com/how-to-install-prometheus-and-node-exporter-on-debian/ | https://computingforgeeks.com/how-to-install-prometheus-and-node-exporter-on-debian/ | ||
=grafana dashboards = | =grafana dashboards = | ||
+ | |||
+ | |||
+ | id 15054 | ||
+ | https://grafana.com/grafana/dashboards/15054/reviews | ||
https://grafana.com/grafana/dashboards/11074 | https://grafana.com/grafana/dashboards/11074 | ||
第40行: | 第54行: | ||
[https://prometheus.io/docs/guides/node-exporter/ Monitoring Linux host metrics with the Node Exporter ] | [https://prometheus.io/docs/guides/node-exporter/ Monitoring Linux host metrics with the Node Exporter ] | ||
+ | [https://www.cnblogs.com/zhaojiedi1992/p/zhaojiedi_liunx_58_prometheus_node_install.html prometheus学习系列三:node_exporter安装部署 ] | ||
+ | |||
+ | [https://blog.csdn.net/chubi7812/article/details/100612951?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase prometheus通过node_exporter抓取的数据准确计算磁盘使用率] | ||
[[category:ops]] [[category:container]] | [[category:ops]] [[category:container]] |
2024年10月6日 (日) 01:44的最新版本
目录
on prome
vim prometheus/prometheus.yml - job_name: 'cailu-web1' static_configs: - targets: ['521.490.10.31:9100']
safe
#对prometheus 开放9100端口 不通一般 是 OS 防火墙 或者安全组 firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="10.7.9.124" port protocol="tcp" port="9100" accept" firewall-cmd --reload --permanent 不加可能导致添加不成功 不通问题 firewall-cmd --add-masquerade --permanent
on moned vm
docker-compose up -d node-exporter
yum
curl -Lo /etc/yum.repos.d/_copr_ibotty-prometheus-exporters.repo https://copr.fedorainfracloud.org/coprs/ibotty/prometheus-exporters/repo/epel-7/ibotty-prometheus-exporters-epel-7.repo yum install node_exporter -y systemctl start node_exporter &&systemctl enable node_exporter
debian and ubuntu
apt install prometheus-node-exporter
用bin包 并自作启动脚本
https://computingforgeeks.com/how-to-install-prometheus-and-node-exporter-on-debian/
grafana dashboards
id 15054
https://grafana.com/grafana/dashboards/15054/reviews
https://grafana.com/grafana/dashboards/11074
see also
Monitoring Linux host metrics with the Node Exporter