vim /etc/yum.d/grafana.repo
[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
:wq!
安装
[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
:wq!
安装
yum -y install grafana
启动服务:
service grafana-server start
chkconfig --add grafana-server
安装zabbix插件
https://grafana.com/plugins/alexanderzobnin-zabbix-app/installation
grafana-cli plugins install alexanderzobnin-zabbix-app
installing alexanderzobnin-zabbix-app @ 3.7.0
from url: https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/3.7.0/download
into: /var/lib/grafana/plugins
✔ Installed alexanderzobnin-zabbix-app successfully
Restart grafana after installing plugins . <service grafana-server restart>
yum install fontconfig
yum install freetype*
yum install urw-fonts
[root@iZj6c8us9p89pips6s4axeZ ~]# service grafana-server restart
yum install freetype*
yum install urw-fonts
[root@iZj6c8us9p89pips6s4axeZ ~]# service grafana-server restart
Stopping Grafana Server: ... [ OK ]
Starting Grafana Server: ... [ OK ]