系统运维


Grafana配置LDAP

<h2>step1</h2> <p>Grafana从2.1开始支持LDAP集成LDAP的统一用户登录认证。默认是LDAP是未启用,需手动更改配置使之能支持LDAP。在参考官方文档Grafana LDAP Authentication进行配置。</p> <p>Grafana主配置文件grafana.ini中开启</p> <pre><code class="language-bash">664行[auth.ldap] enabled = true config_file = /etc/grafana/ldap.toml allow_sign_up = true</code></pre> <h2>step2</h2> <p>vim /etc/grafana/ldap.toml</p> <p>Admin管理员账号可以在上方图示处更改权限,权限分为:Admin管理员权限,Editor拥有编辑权限,Viewer只读权限</p> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=ae098d305b33e09c017d8932cd749aac&amp;file=file.png" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=8e4849715fa95bdef47d75a3314727b3&amp;file=file.png" alt="" /></p>

页面列表

ITEM_HTML