共计 4450 个字符,预计需要花费 12 分钟才能阅读完成。
1、Grafana 介绍
Grafana 是 Graphite 和 InfluxDB 仪表盘和图形编辑器。
Grafana 是开源的,功能齐全的度量仪表盘和图形编辑器,支持 Graphite,InfluxDB 和 OpenTSDB。
Grafana 主要特性:
灵活丰富的图形化选项;
可以混合多种风格;
支持白天和夜间模式;
多个数据源;
Graphite 和 InfluxDB 查询编辑器等等。
Zabbix3.2 安装可以参考如下:http://blog.csdn.net/xiegh2014/article/details/53733230
2、Grafana 安装
[root@qas-zabbix ~]# yum install initscripts fontconfig
[root@qas-zabbix ~]# rpm -ivh grafana-4.0.2-1481203731.x86_64.rpm
[root@qas-zabbix ~]# /sbin/chkconfig –add grafana-server
[root@qas-zabbix ~]# yum install fontconfig
[root@qas-zabbix ~]# yum install freetype*
[root@qas-zabbix ~]# yum install urw-fonts
启动 grafana-server 服务
[root@qas-zabbix ~]# chkconfig grafana-server on
[root@qas-zabbix ~]# service grafana-server start
安装包详细信息
[root@qas-zabbix ~]# rpm -qc grafana
/etc/grafana/grafana.ini
/etc/grafana/ldap.toml
/etc/init.d/grafana-server
/etc/sysconfig/grafana-server
/usr/lib/systemd/system/grafana-server.service
二进制文件 /usr/sbin/grafana-server
服务管理脚本 /etc/init.d/grafana-server
安装默认文件 /etc/sysconfig/grafana-server
配置文件 /etc/grafana/grafana.ini
安装 systemd 服务 (如果 systemd 可用 grafana-server.service
日志文件 /var/log/grafana/grafana.log
下载 zabbix3.2 组件
https://grafana.net/plugins/alexanderzobnin-zabbix-app/installation
获取可用插件列表
[root@qas-zabbix ~]# grafana-cli plugins list-remote
id: abhisant-druid-datasource version: 0.0.2
id: alexanderzobnin-zabbix-app version: 3.2.0
id: belugacdn-app version: 1.2.0
id: bosun-app version: 0.0.25
id: bosun-datasource version: 0.0.5
id: briangann-datatable-panel version: 0.0.1
id: briangann-gauge-panel version: 0.0.1
id: btplc-alarm-box-panel version: 0.0.1
id: btplc-peak-report-panel version: 0.0.1
id: btplc-trend-box-panel version: 0.0.1
id: btplc-trend-dot-panel version: 0.0.1
id: crate-datasource version: 0.2.0
id: digiapulssi-breadcrumb-panel version: 1.0.0
id: fastweb-openfalcon-datasource version: 1.0.0
id: fetzerch-sunandmoon-datasource version: 0.1.2
id: foursquare-clouderamanager-datasource version: 0.9.2
id: grafana-belugacdn-app version: 1.1.0
id: grafana-clock-panel version: 0.0.8
id: grafana-example-app version: 1.0.1
id: grafana-influxdb-08-datasource version: 1.0.2
id: grafana-kairosdb-datasource version: 1.0.1
id: grafana-piechart-panel version: 1.1.4
id: grafana-simple-json-datasource version: 1.2.3
id: grafana-worldmap-panel version: 0.0.16
id: gridprotectionalliance-openhistorian-datasource version: 1.0.1
id: gridprotectionalliance-osisoftpi-datasource version: 1.0.0
id: hawkular-datasource version: 1.0.6
id: jdbranham-diagram-panel version: 1.4.0
id: kentik-app version: 1.1.0
id: monitoringartist-monitoringart-datasource version: 1.0.0
id: mtanda-heatmap-epoch-panel version: 0.1.7
id: mtanda-histogram-panel version: 0.1.6
id: neocat-cal-heatmap-panel version: 0.0.3
id: ns1-app version: 0.0.5
id: opennms-datasource version: 2.0.2
id: percona-percona-app version: 1.0.0
id: praj-ams-datasource version: 1.0.1
id: rackerlabs-blueflood-datasource version: 0.0.2
id: raintank-snap-app version: 0.0.4
id: raintank-worldping-app version: 1.2.0
id: ryantxu-ajax-panel version: 0.0.2
id: savantly-heatmap-panel version: 0.1.0
id: sileht-gnocchi-datasource version: 1.0.6
id: sraoss-sunburst-panel version: 1.0
id: stagemonitor-elasticsearch-app version: 0.26.0
id: udoprog-heroic-datasource version: 0.1.0
id: vonage-status-panel version: 1.0.0
id: voxter-app version: 0.0.1
Restart grafana after installing plugins . <service grafana-server restart>
[root@qas-zabbix ~]# grafana-cli plugins install alexanderzobnin-zabbix-app
installing alexanderzobnin-zabbix-app @ 3.2.0
from url: https://grafana.net/api/plugins/alexanderzobnin-zabbix-app/versions/3.2.0/download
into: /var/lib/grafana/plugins
Installed alexanderzobnin-zabbix-app successfully
Restart grafana after installing plugins . <service grafana-server restart>
[root@qas-zabbix ~]# service grafana-server restart
Stopping Grafana Server: … [确定]
Starting Grafana Server: …
Zabbix 的 API 地址为
http://172.16.8.100/zabbix/api_jsonrpc.php
更多 Zabbix 相关教程集合:
Ubuntu 14.04 下 Zabbix2.4.5 源码编译安装 http://www.linuxidc.com/Linux/2015-05/117657.htm
CentOS 7 LNMP 环境搭建 Zabbix3.0 http://www.linuxidc.com/Linux/2017-02/140134.htm
Ubuntu 16.04 安装部署监控系统 Zabbix2.4 http://www.linuxidc.com/Linux/2017-03/141436.htm
Zabbix 监控安装部署及警报配置 http://www.linuxidc.com/Linux/2017-03/141611.htm
Zabbix 触发器表达式详解 http://www.linuxidc.com/Linux/2017-03/141921.htm
Ubuntu 16.04 下安装部署 Zabbix3.0 http://www.linuxidc.com/Linux/2017-02/140395.htm
CentOS 6.3 下 Zabbix 监控 apache server-status http://www.linuxidc.com/Linux/2013-05/84740.htm
CentOS 7 下 Zabbix 3.0 安装详解 http://www.linuxidc.com/Linux/2017-03/141716.htm
64 位 CentOS 6.2 下安装 Zabbix 2.0.6 http://www.linuxidc.com/Linux/2014-11/109541.htm
ZABBIX 的详细介绍:请点这里
ZABBIX 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-06/144981.htm