一、介绍
grafana 是一款采用 go 语言编写的开源应用,主要用于大规模指标数据的可视化展现,是网络架构和应用分析中最流行的时序数据展示工具,目前已经支持绝大部分常用的时序数据库。
官网:http://docs.grafana.org/
二、安装
$ wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.2.0-1.x86_64.rpm
$ sudo yum install initscripts fontconfig -y
$ sudo rpm -Uvh grafana-4.2.0-1.x86_64.rpm
# 启动
$ service grafana-server start
访问地址:http://IP:3000
账号: admin 密码: admin

三、对接
HTTP URL: 填写Prometheus,IP:端口
点击:Save&Test

四、导入模板
选择:Import >> 在Grafana.com Dashboard填入ID-8919(Linux系统监控模板)
模板地址:Grafana模板

会自动进入如下界面,选择Prometheus -> 如下图:

点击 Import,会出现如下界面:

到此,Grafana监控配置已完成。
网友评论