Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst) Grafana

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    (gelöst) Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • ostseereiter
      ostseereiter last edited by

      Verbindung steht
      Screenshot (95).png
      Nun möchte ich aber nicht gleich alles umstellen. Kann man von den influxadaper zwei Instanzen anlegen?

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @ostseereiter last edited by

        @ostseereiter Jep, habe selbst 3 laufen, damit das bisschen getrennt ist. Eine davon ist zum "spielen" , denn bevor ich da dann ewig einzelne Daten löschen muss, lösch ich die Datenbank und leg sie wieder neu an.

        ostseereiter 1 Reply Last reply Reply Quote 1
        • ostseereiter
          ostseereiter @crunchip last edited by

          @crunchip
          ok

          1 Reply Last reply Reply Quote 0
          • ostseereiter
            ostseereiter last edited by

            Instanz erstellt alles grün das ist erst mal super.einen Testgraph erstellt auch alles gut nun weiß ich das es irgendwo eine Einstellung gibt so dass man diese auch in Iobroker-Vis sichtbar macht jedoch das finde ich nicht.
            Screenshot (97).png

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @ostseereiter last edited by

              @ostseereiter du musst die config anpassen. Bin grad unterwegs

              ostseereiter 1 Reply Last reply Reply Quote 0
              • ostseereiter
                ostseereiter @crunchip last edited by

                @crunchip
                ok ich habe die grafana.ini bearbeitet so wie es im Internet steht
                aber immer noch kein Zugriff vielleicht übersehe ich noch was.

                #################################### Security ####################################
                [security]
                # disable creation of admin user on first start of grafana
                ;disable_initial_admin_creation = false
                
                # default admin user, created on startup
                ;admin_user = admin
                
                # default admin password, can be changed before first start of grafana,  or in profile settings
                ;admin_password = admin
                
                # used for signing
                ;secret_key = SW2YcwTIb9zpOOhoPsMm
                
                # disable gravatar profile images
                ;disable_gravatar = false
                
                # data source proxy whitelist (ip_or_domain:port separated by spaces)
                ;data_source_proxy_whitelist =
                
                # disable protection against brute force login attempts
                ;disable_brute_force_login_protection = false
                
                # set to true if you host Grafana behind HTTPS. default is false.
                ;cookie_secure = false
                
                # set cookie SameSite attribute. defaults to `lax`. can be set to "lax", "strict", "none" and "disabled"
                ;cookie_samesite = lax
                
                # 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
                
                # Set to true if you want to enable http strict transport security (HSTS) response header.
                # This is only sent when HTTPS is enabled in this configuration.
                # HSTS tells browsers that the site should only be accessed using HTTPS.
                ;strict_transport_security = false
                
                # Sets how long a browser should cache HSTS. Only applied if strict_transport_security is enabled.
                ;strict_transport_security_max_age_seconds = 86400
                
                # Set to true if to enable HSTS preloading option. Only applied if strict_transport_security is enabled.
                ;strict_transport_security_preload = false
                
                #################################### Anonymous Auth ######################
                [auth.anonymous]
                # enable anonymous access
                ;enabled = true
                
                # specify organization name that should be used for unauthenticated users
                ;org_name = Main Org.
                
                # specify role for unauthenticated users
                ;org_role = Viewer
                
                # mask the Grafana version number for unauthenticated users
                ;hide_version = false
                
                
                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @ostseereiter last edited by Homoran

                  @ostseereiter sagte in Grafana:

                   [auth.anonymous]                                                                                                                                                                            # enable anonymous access                                                                                                                                                                            ;enabled = true
                  
                  ostseereiter 1 Reply Last reply Reply Quote 0
                  • ostseereiter
                    ostseereiter @Homoran last edited by

                    @homoran
                    das ist doch

                    [auth.anonymous]
                    # enable anonymous access
                    ;enabled = true
                    
                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @ostseereiter last edited by

                      @ostseereiter sagte in Grafana:

                      das ist doch

                      ...auskommentiert!

                      ostseereiter 1 Reply Last reply Reply Quote 0
                      • ostseereiter
                        ostseereiter @Homoran last edited by

                        @homoran
                        also muss ich das Zeichen entfernen

                        #
                        
                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @ostseereiter last edited by crunchip

                          @ostseereiter nein das ; muss weg

                          [security]
                          allow_embedding = true
                          
                          [auth.anonymous]
                          enabled = true 
                          org_name = Main Org.
                          org_role = Viewer
                          
                          [users]
                          allow_sign_up = false
                          
                          ostseereiter 1 Reply Last reply Reply Quote 0
                          • ostseereiter
                            ostseereiter @crunchip last edited by

                            @crunchip
                            nicht böse sein so richtig mit den auskommentieren habe ich es noch nicht begriffen.
                            Ich habe schon bisschen was geändert ist so richtig oder was muss noch weg das Semikolon

                            et to true if you want to allow browsers to render Grafana in a <frame>, <if$
                            ;allow_embedding = true
                            
                            [users]
                            # disable user signup / registration
                            allow_sign_up = false
                            
                            
                            [auth.anonymous]
                            # enable anonymous access
                            enabled = true
                            
                            # specify organization name that should be used for unauthenticated users
                            ;org_name = Main Org.
                            
                            # specify role for unauthenticated users
                            ;org_role = Viewer
                            
                            # mask the Grafana version number for unauthenticated users
                            ;hide_version = false
                            
                            
                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @ostseereiter last edited by crunchip

                              @ostseereiter genau das was ich gepostet hab, musst du so in der config einstellen, bzw nachtragen
                              Ja das Semikolon bedeutet, diese Zeile ist auskommentiert.

                              ostseereiter Slowman 2 Replies Last reply Reply Quote 1
                              • ostseereiter
                                ostseereiter @crunchip last edited by

                                @crunchip
                                Danke es läuft man lernt nie aus das in meinen Alter naja fühle mich trotzdem noch jung.
                                Danke auch noch mal an @Homoran @Thomas-Braun @SBorg @Meister-Mopper

                                1 Reply Last reply Reply Quote 0
                                • Slowman
                                  Slowman @crunchip last edited by

                                  @crunchip

                                  Muss mich mal hier einklingen. Habe heute ein komplettes Update von Proxmox und den LXC Container auf Debian 11 durchgeführt. Jetzt habe ich eine Fehlermeldung, wo ich nichts dazu finde. Grafana und schon vor dem Update funktioniert.

                                  influxdb.0
                                  	2021-08-30 17:32:18.023	error	Error: connect ECONNREFUSED 192.168.2.84:8086
                                  

                                  Bin nochmals die Anleitungen von ioBroker und Grafana durchgegangen, aber ich finde den Fehler nicht. Vielleicht hat Jemand von Euch eine Idee

                                  cat /etc/influxdb/influxdb.conf|grep bind-address
                                  # bind-address = "127.0.0.1:8088"
                                    bind-address = ":8086"
                                    # bind-address = ":8082"
                                    # bind-address = ":2003"
                                    # bind-address = ":25826"
                                    # bind-address = ":4242"
                                    # bind-address = ":8089"
                                  
                                  
                                  sudo netstat -tlpen | grep :8086
                                  tcp6       0      0 :::8086                 :::*                    LISTEN      109        1084678    157/influxd         
                                  
                                  

                                  Screenshot 2021-08-30 at 17-35-50 InfluxDB Settings - Grafana.png
                                  Screenshot 2021-08-30 at 17-36-59 instances - ioBroker.png

                                  Mal sagt ioBroker OK und dann schmeißt er wieder die Fehlermeldung raus. Irgednwo ist der Wurm drin. Aktuelle Version von Grafana, Debian 11, ioBroker Nodejs 14.x

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Slowman last edited by

                                    @slowman mal das Passwort neu eingegeben?
                                    Wenn du auf Verbindung testen drückst, erscheint dann am unteren Rand ein ok?

                                    Slowman 1 Reply Last reply Reply Quote 0
                                    • Slowman
                                      Slowman @crunchip last edited by

                                      @crunchip

                                      Passwort neu eingegeben. Kurz verbunden und dann wieder rausgeschmissen.

                                      Bad Gateway
                                      Object
                                      message:"InfluxDB Error: Bad Gateway"
                                      data:Object
                                      message:"Bad Gateway"
                                      error:"Bad Gateway"
                                      response:""
                                      config:Object
                                      method:"GET"
                                      url:"api/datasources/proxy/1/query"
                                      params:Object
                                      data:null
                                      precision:"ms"
                                      inspect:Object
                                      paramSerializer:serializeParams(e){…}
                                      headers:Object
                                      retry:0
                                      hideFromInspector:false
                                      
                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Slowman last edited by

                                        @slowman jetzt nochmal von vorne.
                                        Iobroker influx und grafana laufen im selben LXC?
                                        Funktioniert die Verbindung in Grafana zur Datenbank?

                                        Slowman 1 Reply Last reply Reply Quote 0
                                        • Slowman
                                          Slowman @crunchip last edited by Slowman

                                          @crunchip

                                          Nein, ioBroker & influx und Grafana seperat.

                                          Problem muss bei ioBroker liegen, da ich gerade meine Sicherung zurückgespielt habe.
                                          Werde mal morgen, Schritt für Schritt mal schauen, wo der Fehler passiert.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          431
                                          Online

                                          31.9k
                                          Users

                                          80.2k
                                          Topics

                                          1.3m
                                          Posts

                                          7
                                          101
                                          6267
                                          Loading More Posts
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          The ioBroker Community 2014-2023
                                          logo