1.Grafana使用
登陆:
http://192.168.8.124:3000/
添加数据源
--Configration
--Data Sources
--Add data source
--Promethous

配置Dashboards
--Dashboards
--Prometheus 2.0 Stats(import)

Dashboards查看
--首页
--Dashboards
--Starred dashboards
选择Prometheus 2.0 Stats

2.监控系统指标
◯被监控的主机系统上已经安装node_exporter
--略
3.导入Dashboard
◯Grafana的官网下载Dashboard模板
https://grafana.com/grafana/dashboards
选择Prometheus,再根据关键字搜索

◯点进去一个node_exporter的模板,可以查看样图,然后直接下载JSON文件
◯点击加号—>import—>Upload JSON file

◯模板导入后,即可进行监控

网友评论