node exporter

在prometheus中负责数据汇报的程序统一叫做exporter;

负责主机信息收集的node_exporter

可以利用prometheus的static_configs来拉取node_exporter的数据;

在prometheus.yml文件的scrape_configs中添加如下配置:

- job_name : node

     static_configs:

         - targets : ["127.0.0.1:9100"]

远程通过ip访问

猜你喜欢

转载自www.cnblogs.com/canglongdao/p/12048382.html