首页 > 学院 > 操作系统 > 正文

Grafana安装和zabbix结合展示

2024-06-28 15:59:31
字体:
来源:转载
供稿:网友

1 环境安装

1.1 在线安装

yum install initscripts fontconfigyum install https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.2-1481203731.x86_64.rpmsystemctl enable grafana-serversystemctl start grafana-serverfirewall-cmd --permanent --add-port=3000/tcpfirewall-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-serversystemctl start grafana-serverfirewall-cmd --permanent --add-port=3000/tcpfirewall-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.service 日志 /var/log/grafana/grafana.log sqlite3数据库 /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.2id: alexanderzobnin-zabbix-app version: 3.2.0id: belugacdn-app version: 1.2.0id: bosun-app version: 0.0.25id: bosun-datasource version: 0.0.5id: briangann-datatable-panel version: 0.0.1id: briangann-gauge-panel version: 0.0.2id: btplc-alarm-box-panel version: 0.0.1id: btplc-peak-report-panel version: 0.0.1id: btplc-trend-box-panel version: 0.0.1id: btplc-trend-dot-panel version: 0.0.1id: crate-datasource version: 0.2.0id: digiapulssi-breadcrumb-panel version: 1.0.0id: fastweb-openfalcon-datasource version: 1.0.0id: fetzerch-sunandmoon-datasource version: 0.1.2id: foursquare-clouderamanager-datasource version: 0.9.2id: grafana-belugacdn-app version: 1.1.0id: grafana-clock-panel version: 0.0.8id: grafana-example-app version: 1.0.1id: grafana-influxdb-08-datasource version: 1.0.2id: grafana-kairosdb-datasource version: 1.0.1id: grafana-piechart-panel version: 1.1.4id: grafana-simple-json-datasource version: 1.2.3id: grafana-worldmap-panel version: 0.0.16id: gridPRotectionalliance-openhistorian-datasource version: 1.0.1id: gridprotectionalliance-osisoftpi-datasource version: 1.0.0id: hawkular-datasource version: 1.0.6id: jdbranham-diagram-panel version: 1.4.0id: kentik-app version: 1.1.0id: monitoringartist-monitoringart-datasource version: 1.0.0id: mtanda-heatmap-epoch-panel version: 0.1.7id: mtanda-histogram-panel version: 0.1.6id: neocat-cal-heatmap-panel version: 0.0.3id: ns1-app version: 0.0.5id: opennms-datasource version: 2.0.2id: percona-percona-app version: 1.0.0id: praj-ams-datasource version: 1.0.1id: rackerlabs-blueflood-datasource version: 0.0.2id: raintank-snap-app version: 0.0.4id: raintank-worldping-app version: 1.2.0id: ryantxu-Ajax-panel version: 0.0.2id: savantly-heatmap-panel version: 0.1.0id: sileht-gnocchi-datasource version: 1.0.6id: sraoss-sunburst-panel version: 1.0id: stagemonitor-elasticsearch-app version: 0.26.0id: udoprog-heroic-datasource version: 0.1.0id: vonage-status-panel version: 1.0.0id: voxter-app version: 0.0.1插件安装grafana-cli plugins install grafana-clock-panelsystemctl restart grafana-server#安装的插件可以copy其他服务器对应目录


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表