prometheus收集主机数据

原创:prometheus02/23/2021发布pv:0uv:0ip:0twitter #prometheus

原文地址:https://www.douyacun.com/article/028c46de72cf823b20e01da247c11e01

image-20210223212719619

prometheus提供了node_exporter来收集主机数据

node_exporter下载地址: https://github.com/prometheus/node_exporter/releases

supervisor维护进程运行

[program:node_exporter]
command=/data/node_exporter/node_exporter-1.1.1.linux-amd64/node_exporter
autostart=true
autorestart=true
user=root
numprocs=1
redirect_stderr=true
stdout_logfile=/data/node_exporter/logs/access.log

grafana dashboard: https://grafana.com/grafana/dashboards/8919