“Node-exporter”的版本间的差异
跳到导航
跳到搜索
(→safe) |
(→yum) |
||
第13行: | 第13行: | ||
<pre> | <pre> | ||
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 | 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 | + | yum install node_exporter -y |
+ | systemctl start node_exporter &&systemctl enable node_exporter | ||
</pre> | </pre> | ||
+ | |||
== debian == | == debian == | ||
apt install prometheus-node-exporter | apt install prometheus-node-exporter |
2020年5月16日 (六) 08:34的版本
safe
#对prometheus 开放9100端口 firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="10.7.9.124" port protocol="tcp" port="9100" accept" firewall-cmd --reload
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
apt install prometheus-node-exporter
用bin包 并自作启动脚本
https://computingforgeeks.com/how-to-install-prometheus-and-node-exporter-on-debian/
grafana dashboards
https://grafana.com/grafana/dashboards/11074