grafana
官网文档
安装
cent yum install https://grafanarel.s3.amazonaws.com/builds/grafana-4.0.1-1480694114.x86_64.rpm
|
/var/lib/grafana # 默认以SQLite3 数据grafana信息,
/var/lib/grafana/plugins # 插件位置
配置文件
egrep -v “^;|^#|^$” /etc/grafana/grafana.ini
[paths] logs = /var/log/grafana [server] http_addr =123.56.18.160 http_port = 3000 root_url = http://123.56.18.160:3000 router_logging = true enable_gzip = true [database] [session] [analytics] [security] admin_user = admin admin_password = admin [snapshots] [users] [auth] [auth.anonymous] [auth.github] [auth.google] [auth.generic_oauth] [auth.grafananet] [auth.proxy] [auth.basic] [auth.ldap] [smtp] [emails] [log] mode = file [log.console] [log.file] [log.syslog] [event_publisher] [dashboards.json] [alerting] [metrics] [metrics.graphite] [grafana_net] [external_image_storage] [external_image_storage.s3] [external_image_storage.webdav]
|
插件安装
plugin安装
grafana-cli plugins install alexanderzobnin-zabbix-app
|
添加数据源
所支持的数据源:
The following datasources are officially supported: Graphite, InfluxDB, OpenTSDB, Prometheus, Elasticsearch, CloudWatch, and KairosDB
添加图表