部署Grafana
[root@server ~]# wget https://dl.grafana.com/oss/release/grafana-7.3.4-1.x86_64.rpm
--2021-10-07 10:44:10-- https://dl.grafana.com/oss/release/grafana-7.3.4-1.x86_64.rpm
正在解析主机 dl.grafana.com (dl.grafana.com)... 151.101.42.217, 2a04:4e42:a::729
正在连接 dl.grafana.com (dl.grafana.com)|151.101.42.217|:443... 已连接。
[root@server ~]# yum install grafana-7.3.4-1.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
//设置开机自启
[root@server ~]# systemctl daemon-reload
[root@server ~]# systemctl start grafana-server
[root@server ~]# systemctl enable --now grafana-server
Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.
[root@server ~]#
[root@server ~]# ss -antl
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 0.0.0.0:10050 0.0.0.0:*
LISTEN 0 128 0.0.0.0:10051 0.0.0.0:*
LISTEN 0 128 127.0.0.1:9000 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 100 127.0.0.1:25 0.0.0.0:*
LISTEN 0 80 *:3306 *:*
LISTEN 0 128 *:80 *:*
LISTEN 0 128 [::]:22 [::]:*
LISTEN 0 128 *:3000 *:*
LISTEN 0 100 [::1]:25 [::]:*
[root@server ~]#
//安装grafana-zabbix插件(Using grafana-cli tool)
[root@server ~]# grafana-cli plugins list-remote
id: abhisant-druid-datasource version: 0.0.6
id: aceiot-svg-panel version: 0.0.11
id: ae3e-plotly-panel version: 0.4.0
id: agenty-flowcharting-panel version: 0.9.1
id: aidanmountford-html-panel version: 0.0.2
id: akumuli-datasource version: 1.3.12
id: alexanderzobnin-zabbix-app version: 4.1.5
id: alexandra-trackmap-panel version: 1.2.6
id: andig-darksky-datasource version: 1.0.2
id: anodot-datasource version: 2.0.3
id: anodot-panel version: 1.0.5
id: