Re: Ceph Octopus - How to customize the Grafana configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

thanks a lot for this hint! Yes I now can edit the file and restart the grafana host with

# ceph orch stop grafana
# ceph orch start grafana

And the new configuration is used.

What I expected was, that I can define a different path on my host like /home/grafana.ini  that ceph will fetch during startup. But  this seems to be impossible. You need to:

1. start the grafana with
   # ceph orch apply grafana 1
2. edit the file
   /var/lib/ceph/<UUID>/grafana.host1/etc/grafana/grafana.ini
3. restart grafana with
   # ceph orch stop grafana
   # ceph orch start grafana


Thanks for your help


===

Ralph


On 10.06.21 09:31, Eugen Block wrote:
Hi,

you can edit the config file /var/lib/ceph/<UUID>/grafana.host1/etc/grafana/grafana.ini (created by cephadm) and then restart the container. This works in my octopus lab environment.

Regards,
Eugen


Zitat von Ralph Soika <ralph.soika@xxxxxxxxx>:

Hello,

I have installed and bootsraped a Ceph manager node via cephadm and the options:

    --initial-dashboard-user admin --initial-dashboard-password [PASSWORD] --dashboard-password-noupdate

Everything works fine. I also have the Grafana Board to monitor my cluster. But the access to Grafana is open for anonymous users because of the grafana.ini template with the option:

[auth.anonymous]
enabled = true


I can't figure out how to tweak the default grafana.ini file. Can someone help me how to do this?


I tried to do this with the command:

# ceph config-key set mgr/cephadm/services/grafana/grafana.ini \
  -i /tmp//grafana.ini.j2

# ceph orch reconfig grafana

But without any effect. I also did not really understand where I should place the grafana.ini file on my Host?

Thanks for any help

===
Ralph

--
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
--
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux