Jump to content

TaiChar

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by TaiChar

  1. 12 hours ago, MMW said:

    Makes sense and leads to a wonderful headache @TaiCharhow did you manage to get past this? You mention X-Frame-Options=sameorigin in one of your post but I am unable to find this in the Grafana config file.

    yes, by setting "allow_embedding = true" this won't be send anymore. was the ";" deleted at the beginning of the line?

     

    Is the custom tab setting correct?

    see screenshot?

    I edited three lines in the grafana.ini

    the one mentioned for embedding and two for the kiosk mode of grafana.

     

     

    [auth.anonymous]
    enabled = true

    org_name = Main

     

    but this is only to see the dashboard without logging in. If not set you should see the login screen.

    graf.png

  2. Where to find Grafana.ini?

     

     

     

    Quote

    goto a folder you can access over the network, this is optional if you edit the file over the commandline, otherwise go to a random temporary folder you can write to

    cd /mnt/user/appdata/

     

    copy Grafana.ini to the current folder "Grafana" is the name of the docker container. Standart is "Grafana"

    docker cp Grafana:/etc/grafana/grafana.ini .
     

    make grafana.ini writable

    chmod -777 grafana.ini

     

    edit grafana.ini over the network with notepad or notepad++ or within the commandline with nano vii, etc.

     

    copy grafana.ini back

    docker cp grafana.ini Grafana:/etc/grafana/grafana.ini

     

    restart Grafana

    i did it over the GUI, so i don't know the commandline command

     

     

  3. 10 hours ago, MMW said:

    Any hints on how to do this "I Had to change the "X-Frame-Options=sameorigin" option in grafana from false to true."

    I found in the security settings

    x_content_type_optionsfalse

    x_xss_protectionfalse

    Which I assume will allow me to get where I need to go but for the life of me cannot find the grafana.ini config file to edit.

    Change Grafana.ini from:

    Quote

    # set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
    ;allow_embedding = false

    to:

    Quote

    # set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
    allow_embedding = true

     

  4. On 10/3/2019 at 2:08 AM, Squid said:

    Custom Tab plugin.

    I Had to change the "X-Frame-Options=sameorigin" option in grafana from false to true.

    And I had to activate the kiosk mode "google for grafana on tv"

    After that Custom Tab works fine.


    In "Management Access" you can choose that your own Dashboard is shown after Login.

    Perfect thanks

     

    I added a screenshot.

    Dash.png

    • Like 1
  5. Hi,

    Grafana + InfluxDB + UnTelegraf:

    wonderfull Tutorial by panzerschreck, everything works fine. I created a nice Dashboard and everything is working, but

     

    how do i replace the unraid Dashboard with the one created in Grafana?

    Alternatively, how do i add a second Dashboard with Grafana between "Dashboard" and "Main"?

     

    Greets and Thanks

×
×
  • Create New...