Grafanaインストールとzabbixの組み合わせ展示

11748 ワード

1環境インストール


1.1オンラインインストール

yum install initscripts fontconfig
yum install https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2-1481203731.x86_64.rpm
systemctl enable grafana-server
systemctl start grafana-server
firewall-cmd --permanent --add-port=3000/tcp
firewall-cmd --reload

1.2オフラインでの取り付け

rpm -ivh initscripts-9.49.30-1.el7_2.3.x86_64.rpm 
rpm -ivh fontconfig-2.10.95-10.el7.x86_64.rpm 
rpm -ivh grafana-4.0.2-1481203731.x86_64.rpm 
systemctl enable grafana-server
systemctl start grafana-server
firewall-cmd --permanent --add-port=3000/tcp
firewall-cmd --reload

ログインアドレスhttp://ip:3000ログイン名パスワードはadminです

2インストールパッケージの詳細


バイナリファイル/usr/sbin/grafana-server起動スクリプト/etc/init.d/grafana-server環境変数/etc/sysconfig/grafana-serverプロファイル/etc/grafana/grafana.Ini systemdサービスgrafana-server.サービスログ/var/log/grafana/grafana.log sqlite 3データベース/var/lib/grafana/grafana.db

3 grafana-zabbix-appのインストール

cd /var/lib/grafana/plugins/
git clone https://github.com/alexanderzobnin/grafana-zabbix-app

enable zabbix設定zabbixテストテンプレートの表示

4その他のプラグイン

    
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.2
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
    
grafana-cli plugins install grafana-clock-panel
systemctl restart grafana-server
#       copy