Grafana安装
https://grafana.com/grafana/download #网址
wget https://dl.grafana.com/oss/release/grafana-7.5.7-1.x86_64.rpm
yum install grafana-7.5.7-1.x86_64.rpm
Grafana页面嵌入
#修改/usr/share/grafana/conf下的缺省配置文件defaults.ini
allow_embedding = true
#重启服务
Grafana 开启匿名登录
如果要隐藏登录页面,请执行此配置
[auth]
disable_login_form = true
启用匿名访问
[auth.anonymous]
enabled = true
指定组织
# specify organization name that should be used for unauthenticated users
org_name = Main Org.
设定角色
# specify role for unauthenticated users
org_role = Viewer
启动
systemctl start grafana-server
停止
systemctl stop grafana-server
访问
ip:3000 admin/admin
