Grafana安装

  sre

Grafana 是 Graphite 和 InfluxDB 仪表盘和图形编辑器。一款开源,功能齐全的度量仪表盘和图形编辑器,支持 Graphite,InfluxDB 和 OpenTSDB。
在线效果:http://play.grafana.org

#安装

yum install -y https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.x86_64.rpm

#由于s3在国内访问速度过慢问题,可能导致rpm包获取失败,可采取第三方下载后安装。
#如https://packagecloud.io/grafana/stable/packages/el/7/grafana-4.1.2-1486989747.x86_64.rpm

#包说明
/usr/sbin/grafana-server	#主服务
/usr/sbin/grafana-cli		#命令行管理工具
/etc/grafana/grafana.ini	#配置文件
/var/log/grafana/grafana.log	#日志路径
/var/lib/grafana/grafana.db	#sqlite3数据库文件
/usr/share/grafana              #前台资源文件        
#插件安装
grafana-cli plugins install alexanderzobnin-zabbix-app && \
grafana-cli plugins install grafana-clock-panel      && \
grafana-cli plugins install ryantxu-ajax-panel           && \
grafana-cli plugins install briangann-gauge-panel        && \
grafana-cli plugins install briangann-datatable-panel    && \
grafana-cli plugins install jdbranham-diagram-panel      && \
grafana-cli plugins install btplc-trend-box-panel        && \
grafana-cli plugins install bessler-pictureit-panel      && \
grafana-cli plugins install natel-plotly-panel           && \
grafana-cli plugins install vonage-status-panel          && \
grafana-cli plugins install mtanda-histogram-panel   
#重启服务
systemctl enable grafana-server.service
systemctl stop grafana-server
systemctl start grafana-server

安装完成之后,在浏览器输入http://localhost:3000登录,默认端口号是3000,默认用户名是admin,密码是admin。

One Reply to “Grafana安装”

  • #grafana-5.1.3
    grafana-cli plugins install alexanderzobnin-zabbix-app
    grafana-cli plugins install grafana-kubernetes-app
    grafana-cli plugins install grafana-piechart-panel
    grafana-cli plugins install ryantxu-ajax-panel
    grafana-cli plugins install novalabs-annotations-panel
    grafana-cli plugins install btplc-alarm-box-panel
    grafana-cli plugins install michaeldmoore-annunciator-panel
    grafana-cli plugins install yesoreyeram-boomtable-panel
    grafana-cli plugins install digiapulssi-breadcrumb-panel
    grafana-cli plugins install digrich-bubblechart-panel
    grafana-cli plugins install neocat-cal-heatmap-panel
    grafana-cli plugins install petrslavotinek-carpetplot-panel
    grafana-cli plugins install briangann-gauge-panel
    grafana-cli plugins install briangann-datatable-panel
    grafana-cli plugins install jdbranham-diagram-panel
    grafana-cli plugins install natel-discrete-panel
    grafana-cli plugins install citilogics-geoloop-panel
    grafana-cli plugins install savantly-heatmap-panel
    grafana-cli plugins install mtanda-histogram-panel
    grafana-cli plugins install mtanda-heatmap-epoch-panel
    grafana-cli plugins install digiapulssi-organisations-panel
    grafana-cli plugins install zuburqan-parity-report-panel
    grafana-cli plugins install btplc-peak-report-panel
    grafana-cli plugins install blackmirror1-singlestat-math-panel
    grafana-cli plugins install natel-plotly-panel
    grafana-cli plugins install bessler-pictureit-panel
    grafana-cli plugins install blackmirror1-statusbygroup-panel
    grafana-cli plugins install btplc-status-dot-panel
    grafana-cli plugins install btplc-trend-box-panel

LEAVE A COMMENT

Captcha Code