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.
    • crunchip
      crunchip Forum Testing Most Active @ostseereiter last edited by

      @ostseereiter leg in z.b. auf 8089, wenn du ihn weiter benutzen möchtest

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

        influxDB grün das war ja eine Geburt

        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Sun Apr 25 19:03:13 2021 from 192.168.178.111
        andy@debian:~$ sudo systemctl start influxd
        [sudo] Passwort für andy:
        andy@debian:~$ systemctl status influxd
        ● influxdb.service - InfluxDB is an open-source, distributed, time series databa
           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
           Active: active (running) since Sun 2021-04-25 19:48:29 CEST; 31s ago
             Docs: https://docs.influxdata.com/influxdb/
         Main PID: 5133 (influxd)
            Tasks: 10 (limit: 4915)
           Memory: 13.7M
           CGroup: /system.slice/influxdb.service
                   └─5133 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
        lines 1-9/9 (END)
        
        
        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @ostseereiter last edited by

          @ostseereiter Ich würde auch einfach nur den überflüssigen Terminal-Adapter aus dem ioBroker rauswerfen. Der frisst nur Ressourcen, brauchen tut den kein Mensch der mit SSH auf den Server geht.

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

            @ostseereiter sagte in Grafana:

            das war ja eine Geburt

            das kann man wirklich sagen

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

              @thomas-braun
              habe ich gemacht

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

                @ostseereiter Vermutlich hast du den RPC-Service von Influx aktiviert. Der läuft standardmäßig auf Port 8088
                Den braucht es aber nicht, zumindest wenn du mit Backitup sichern willst (was ja dann auf der selben Maschine läuft).
                cat /etc/influxdb/influxdb.conf|grep bind-address sollte eigentlich in etwa liefern:

                # bind-address = "127.0.0.1:8088"
                  # bind-address = ":8086"
                  # bind-address = ":2003"
                  # bind-address = ":25826"
                  # bind-address = ":4242"
                  # bind-address = ":8089"
                

                Wichtig ist hier Zeile #1: da wird bei dir das Kommentarzeichen "#" fehlen: bind-address = "127.0.0.1:8088"
                Da hier schon der Terminal-Adapter darauf läuft/lief, startet dann der später gestartete Service (=influx) nicht mehr 😉

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

                  @sborg sagte in Grafana:

                  cat /etc/influxdb/influxdb.conf|grep bind-address

                  
                  andy@debian:~$ cat /etc/influxdb/influxdb.conf|grep bind-address
                  # bind-address = "127.0.0.1:8088"
                   bind-address = ":8086"
                    # bind-address = ":2003"
                    # bind-address = ":25826"
                    # bind-address = ":4242"
                    # bind-address = ":8089"
                  andy@debian:~$
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • ostseereiter
                    ostseereiter last edited by

                    Hallo freunde ich habe erst mal Grafana installiert.
                    Bekomme aber keine Verbindung zur Influx-datenbank.
                    Wie kann ich dort überprüfen wie die angelegt Datenbank heißt (ob sie angelegt wurde)
                    und wie der User heißt und (ob der angelegt wurde.

                    > CREATE USER "admin" WITH PASSWORD "2606" WITH ALL PRIVILEGES
                    ERR: unable to parse authentication credentials
                    Warning: It is possible this error is due to not setting a database.
                    Please set a database with the command "use <database>".
                    > SHOW USERS
                    ERR: unable to parse authentication credentials
                    Warning: It is possible this error is due to not setting a database.
                    Please set a database with the command "use <database>".
                    
                    
                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @ostseereiter last edited by crunchip

                      @ostseereiter das was du in der Influx instanz stehen hast, brauchst du auch in grafana

                      Mit putty auf deine Rechner wo influx läuft, folgende Kommandos zeigen dir was du suchst

                      influx
                      show databases
                      show user
                      exit
                      
                      ostseereiter 1 Reply Last reply Reply Quote 0
                      • ostseereiter
                        ostseereiter @crunchip last edited by

                        @crunchip
                        wie kann ich das in der Influxdatenbank überprüfen das war gestern soviel für mich was ich eingegeben habe. also wie die Datenbank heißt User

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

                          @ostseereiter die Befehle hab ich doch gerade geschrieben

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

                            @crunchip alles klar habe ich übersehen muss erst mal kaffee holen nach 5 wochen arbeit ist man kein Mensch mehr.

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

                              @crunchip

                              
                              andy@debian:~$ influx
                              Connected to http://localhost:8086 version 1.8.5
                              InfluxDB shell version: 1.8.5
                              > show databases
                              ERR: unable to parse authentication credentials
                              Warning: It is possible this error is due to not setting a database.
                              Please set a database with the command "use <database>".
                              > show user
                              ERR: unable to parse authentication credentials
                              Warning: It is possible this error is due to not setting a database.
                              Please set a database with the command "use <database>".
                              > exit
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • ostseereiter
                                ostseereiter last edited by

                                ich habe jetzt mal in der Influx-Config auth-enabled auf false gesetzt
                                danach konnte ich die Datenbank finden aber den User leider nicht .

                                
                                andy@debian:~$ sudo influx
                                Connected to http://localhost:8086 version 1.8.5
                                InfluxDB shell version: 1.8.5
                                > show databases
                                name: databases
                                name
                                ----
                                _internal
                                IobrokerD
                                > show user
                                ERR: error parsing query: found USER, expected CONTINUOUS, DATABASES, DIAGNOSTICS, FIELD, GRANTS, MEASUREMENT, MEASUREMENTS, QUERIES, RETENTION, SERIES, SHARD, SHARDS, STATS, SUBSCRIPTIONS, TAG, USERS at line 1, char 6
                                Warning: It is possible this error is due to not setting a database.
                                Please set a database with the command "use <database>".
                                > exit
                                
                                
                                crunchip 1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @ostseereiter last edited by

                                  @ostseereiter irgendwie hast du ein ganz schön "verkorkstes" System

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

                                    @crunchip kann sein wie gesagt wurde neu aufgespielt dann iobroker drauf und sonst nix nun jetzt halt die Datenbank

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

                                      @ostseereiter wen du influx frisch installiert hast, brauchst du doch keine Datenbank anlegen. Das machst du durch den influx Adapter! In der Instanz gibst du user Passwort und Name der Datenbank an, das wird dann automatisch in Influx angelegt. Diese Daten nutzt du dann und verweisst in Grafana auf deine Datenbank.

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

                                        @crunchip Grafana bracht ja eine Datenbank wenn man kein Iobroker benutzt zb

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

                                          @crunchip
                                          der Befehl show user hat sich geändert in show users

                                          
                                          InfluxDB shell version: 1.8.5
                                          > show databases
                                          name: databases
                                          name
                                          ----
                                          _internal
                                          IobrokerD
                                          > use IobrokerD
                                          Using database IobrokerD
                                          > show users
                                          user  admin
                                          ----  -----
                                          admin true
                                          andy  false
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            864
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            101
                                            6253
                                            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