grafana安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
官网下载grafana
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.0.1-1.x86_64.rpm
安装
yum -y install grafana-5.0.1-1.x86_64.rpm
安装完成以后启动grafna,命令:
/etc/init.d/grafana-server start
要安装一下grafana-zabbix插件,否则无法添加zabbix,命令:
获取插件列表,命令:
grafana-cli plugins list-remote
列表:
id: abhisant-druid-datasource version: 0.0.5
id: akumuli-datasource version: 1.2.8
id: alexanderzobnin-zabbix-app version: 3.9.1
id: andig-darksky-datasource version: 1.0.0
id: ayoungprogrammer-finance-datasource version: 1.0.0
id: belugacdn-app version: 1.2.0
id: bessler-pictureit-panel version: 1.0.0
id: blackmirror1-singlestat-math-panel version: 1.1.5
id: blackmirror1-statusbygroup-panel version: 1.1.1
id: bosun-app version: 0.0.28
id: briangann-datatable-panel version: 0.0.6
id: briangann-gauge-panel version: 0.0.6
id: btplc-alarm-box-panel version: 1.0.7
id: btplc-peak-report-panel version: 0.2.3
id: btplc-status-dot-panel version: 0.2.3
id: btplc-trend-box-panel version: 0.1.9
id: camptocamp-prometheus-alertmanager-datasource version: 0.0.6
id: citilogics-geoloop-panel version: 1.1.1
id: cloudflare-app version: 0.1.3
id: crate-datasource version: 0.5.1
id: dalmatinerdb-datasource version: 1.0.5
id: ddurieux-glpi-app version: 1.3.0
id: devicehive-devicehive-datasource version: 2.0.1
id: digiapulssi-breadcrumb-panel version: 1.1.4
id: digiapulssi-organisations-panel version: 1.1.0
id: digrich-bubblechart-panel version: 1.1.0
id: fastweb-openfalcon-datasource version: 1.0.0
id: fatcloud-windrose-panel version: 0.7.0
id: fetzerch-sunandmoon-datasource version: 0.1.2
id: flant-statusmap-panel version: 0.0.4
id: foursquare-clouderamanager-datasource version: 0.9.2
id: fzakaria-simple-annotations-datasource version: 1.0.0
id: gnocchixyz-gnocchi-datasource version: 1.7.0
id: goshposh-metaqueries-datasource version: 0.0.1
id: grafana-azure-data-explorer-datasource version: 1.1.0
id: grafana-azure-monitor-datasource version: 0.3.0
id: grafana-clock-panel version: 1.0.2
id: grafana-example-app version: 1.0.1
id: grafana-influxdb-08-datasource version: 1.0.2
id: grafana-influxdb-flux-datasource version: 5.1.0
id: grafana-kairosdb-datasource version: 3.0.1
id: grafana-kubernetes-app version: 1.0.1
id: grafana-piechart-panel version: 1.3.3
id: grafana-polystat-panel version: 1.0.14
id: grafana-simple-json-datasource version: 1.4.0
id: grafana-worldmap-panel version: 0.1.2
id: gridprotectionalliance-openhistorian-datasource version: 1.0.2
id: gridprotectionalliance-osisoftpi-datasource version: 1.0.3
id: hawkular-datasource version: 1.1.1
id: ibm-apm-datasource version: 0.8.0
id: instana-datasource version: 2.0.0
id: jasonlashua-prtg-datasource version: 4.0.3
id: jdbranham-diagram-panel version: 1.4.4
id: kentik-app version: 1.3.2
id: larona-epict-panel version: 1.0.1
id: linksmart-hds-datasource version: 0.3.0
id: linksmart-sensorthings-datasource version: 1.1.0
id: marcuscalidus-svg-panel version: 0.2.0
id: michaeldmoore-annunciator-panel version: 1.0.0
id: monasca-datasource version: 1.0.0
id: monitoringartist-monitoringart-datasource version: 1.0.0
id: moogsoft-aiops-app version: 7.0.1
id: mtanda-google-calendar-datasource version: 1.0.4
id: mtanda-heatmap-epoch-panel version: 0.1.7
id: mtanda-histogram-panel version: 0.1.6
id: natel-discrete-panel version: 0.0.9
id: natel-influx-admin-panel version: 0.0.5
id: natel-plotly-panel version: 0.0.5
id: natel-usgs-datasource version: 0.0.2
id: neocat-cal-heatmap-panel version: 0.0.3
id: novalabs-annotations-panel version: 0.0.1
id: ns1-app version: 0.0.7
id: ntop-ntopng-datasource version: 1.0.0
id: opennms-helm-app version: 2.0.0
id: ovh-warp10-datasource version: 2.1.1
id: percona-percona-app version: 1.0.0
id: petrslavotinek-carpetplot-panel version: 0.1.1
id: praj-ams-datasource version: 1.0.1
id: rackerlabs-blueflood-datasource version: 0.0.2
id: radensolutions-netxms-datasource version: 1.1.0
id: raintank-snap-app version: 0.0.5
id: raintank-worldping-app version: 1.2.4
id: ryantxu-ajax-panel version: 0.0.5
id: ryantxu-annolist-panel version: 0.0.1
id: satellogic-3d-globe-panel version: 0.1.0
id: savantly-heatmap-panel version: 0.2.0
id: sbueringer-consul-datasource version: 0.1.5
id: sidewinder-datasource version: 0.2.0
id: simpod-json-datasource version: 0.1.1
id: skydive-datasource version: 1.0.1
id: smartmakers-trafficlight-panel version: 1.0.0
id: sni-pnp-datasource version: 1.0.5
id: sni-thruk-datasource version: 1.0.0
id: snuids-radar-panel version: 1.4.1
id: snuids-trafficlights-panel version: 1.4.2
id: stagemonitor-elasticsearch-app version: 0.83.2
id: udoprog-heroic-datasource version: 0.1.0
id: vertamedia-clickhouse-datasource version: 1.8.0
id: vonage-status-panel version: 1.0.9
id: voxter-app version: 0.0.1
id: yesoreyeram-boomtable-panel version: 0.4.6
id: zuburqan-parity-report-panel version: 1.2.0


安装zabbix插件:
grafana-cli plugins install alexanderzobnin-zabbix-app

安装成功如下:
[root@iZbp18eqmbj0rcosd6orgyZ grafana]# grafana-cli plugins install alexanderzobnin-zabbix-app
installing alexanderzobnin-zabbix-app @ 3.9.1
from url: https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/3.9.1/download
into: /var/lib/grafana/plugins

✔ Installed alexanderzobnin-zabbix-app successfully

Restart grafana after installing plugins . <service grafana-server restart>

[root@iZbp18eqmbj0rcosd6orgyZ grafana]#


重启grafana-server:
/etc/init.d/grafana-server restart

浏览器登录:
http://ip:3000/
登录名密码默认都是admin

界面配置:
https://blog.csdn.net/xiaoying5191/article/details/79530280
https://www.cnblogs.com/kevingrace/p/7108060.html
http://blog.51cto.com/seekerwolf/2122912
ˆ Back To Top