Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    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

    iob diag - Skript

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

      @Homoran

      @homoran sagte in iob diag - Skript:
      @glasfaser sagte in iob diag - Skript:

      jsonl Größe

      hab noch file und nu?

      und das

      ls -lh /opt/iobroker/iobroker-data/objects.*
      
      1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Thomas Braun last edited by Glasfaser

        @thomas-braun sagte in iob diag - Skript:

        iob list objects | wc -l

        Die Abfrage kann dauern , daher würde ich etwas an Info einbauen ...

        viele werden sonst ungeduldig ....

        Adapter    "uv-protect"   : 0.3.7    , installed 0.3.6  [Updatable]
        
        Zahl der Objekte: \t41902
        *** User und Gruppen ***
        

        wo kommt denn das \t her .

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

          @glasfaser sagte in iob diag - Skript:

          viele werden sonst ungeduldig ....

          Hab einen Hinweis drin.

          wo kommt denn das \t her .

          Das ist ein TAB-Stop. Sollte jetzt verarbeitet werden.

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

            @thomas-braun

            Adapter    "uv-protect"   : 0.3.7    , installed 0.3.6  [Updatable]
            
            Es wird die Zahl der Objekte ermittelt - Dies kann etwas dauern.
            Zahl der Objekte:       41902
            
            *** User und Gruppen ***
            

            👍

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Glasfaser last edited by

              @glasfaser sagte in iob diag - Skript:

              viele werden sonst ungeduldig ....

              Altes bash skript ist ja kein D-Zug... 🚅

              Thomas Braun 1 Reply Last reply Reply Quote 1
              • Thomas Braun
                Thomas Braun Most Active @Thomas Braun last edited by

                Langsam muss man fast aufpassen, dass es nicht zu lang wird.
                Wieviele Zeichen passen in die CodeTags im Forum rein? 😄

                Glasfaser 2 Replies Last reply Reply Quote 1
                • Glasfaser
                  Glasfaser @Thomas Braun last edited by

                  @thomas-braun sagte in iob diag - Skript:

                  Wieviele Zeichen passen in die CodeTags im Forum rein?

                  Vorschlag ... Screenshot mit Lupenfunktion ...

                  da freut sich immer @Homoran an seinem Handy / Tablet

                  duch .. und weg 🙂

                  Thomas Braun 1 Reply Last reply Reply Quote 1
                  • Thomas Braun
                    Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                    @glasfaser

                    Screenshot aus einem Pager und dann automatisiert seitenweise bei einem Imagehoster hochladen.

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

                      @thomas-braun

                      Ich hab noch etwas ....

                      Diese Info´s bekommt man immer mitten im Thread ..... vom User mittgeteilt .

                      multihost ....

                      iob multihost status
                      
                      R 1 Reply Last reply Reply Quote 2
                      • R
                        reutli @Glasfaser last edited by reutli

                        @glasfaser

                        Stiiiiiimmmmtt! Guter Beitrag!

                        Bekomme aber trotz Multihost-Umgebung keine richtige Aussage/-gabe?!:

                        admin@macmini-iobroker:~$ iob multihost status
                        No configuration change needed.
                        
                        
                        Multihost discovery server: disabled
                        Discovery authentication:   enabled
                        Persistent activation:      disabled
                        Objects:                    jsonl on 0.0.0.0
                        States:                     jsonl on 0.0.0.0
                        

                        Auf dem Slave aber schon (zumindest ein Hinweis auf Master):

                        pi@iobroker2:~ $ iob multihost status
                        No configuration change needed.
                        
                        
                        Multihost discovery server: disabled
                        Discovery authentication:   enabled
                        Persistent activation:      disabled
                        Objects:                    jsonl on 192.168.200.5
                        States:                     jsonl on 192.168.200.5
                        
                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @reutli last edited by

                          @reutli sagte in iob diag - Skript:

                          iob multihost status

                          Gibt es den Befehl dafür?

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

                            @homoran

                            ähhh?, ja:

                            pi@iobroker2:~ $ iob multihost
                            Invalid parameters. Following is possible: enable, browse, connect, status
                            

                            oder meinst Du ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

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

                              @reutli sagte in iob diag - Skript:

                              ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

                              ja! resp. ob der genannte Befehl dafür gedacht ist.

                              ich fürchte das muss aus irgendeiner .conf ausgelesen werden

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

                                cd@reutli sagte in iob diag - Skript:
                                @homoran

                                ähhh?, ja:

                                pi@iobroker2:~ $ iob multihost
                                Invalid parameters. Following is possible: enable, browse, connect, status
                                

                                oder meinst Du ob es überhaupt einen Befehl gibt eine MultiHost Umgebung anzuzeigen?

                                mit

                                iobroker multihost connect
                                
                                iobroker multihost browse
                                

                                Ich habe kein Multihost :

                                Wenn er nicht vorhanden ist dann kommt :

                                root@iobrokerv6:/opt/iobroker# iobroker multihost browse
                                No Multihost server found. Make sure iobroker is running on the host where you enabled multihost discovery (and it is not this host)!
                                

                                oder in der iobroker.json wird es auch gespeichert

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

                                  @glasfaser sagte in iob diag - Skript:

                                  Wenn er nicht vorhanden ist dann kommt :

                                  nee, auch dann wenn nicht gerade enable auf dem Master läuft.
                                  ist IMHO so nicht zur Detektion bestehener Multihost Systeme zu gebrauchen.

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

                                    @homoran
                                    Das sehe ich genau so. Wenn browsing am master aus ist, dann sieht man nichts.
                                    Das muss tatsächlich in configs stehen.

                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @reutli last edited by

                                      @reutli sagte in iob diag - Skript:

                                      Das muss tatsächlich in configs stehen.

                                      Habe oben geschrieben ... ich habe kein Multihost .....

                                      kannst du mal in deiner iobroker.json schauen !?

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        reutli @Glasfaser last edited by

                                        @glasfaser sagte in iob diag - Skript:

                                        kannst du mal in deiner iobroker.json schauen !?

                                        MASTER:

                                          "multihostService": {
                                            "enabled": false,
                                            "secure": true,
                                            "password": "##################################################",
                                            "persist": false
                                          },
                                        

                                        ist der einzige Hinweis, aber eben nicht konkret...

                                        SLAVE:

                                          "multihostService": {
                                            "enabled": false,
                                            "secure": true,
                                            "password": ""
                                          },
                                          "objects": {
                                            "type": "jsonl",
                                            "host": "192.168.200.5",
                                            "port": 9001,
                                            "user": "",
                                            "pass": "",
                                            "options": {
                                              "auth_pass": null,
                                              "enableReadyCheck": true,
                                              "host": "0.0.0.0",
                                              "port": 9001,
                                              "db": 0,
                                              "family": 0,
                                              "password": null,
                                              "autoResubscribe": false,
                                              "connectionName": "host.macmini-iobroker",
                                              "retry_max_delay": 5000
                                            },
                                            "maxQueue": 1000
                                          },
                                          "states": {
                                            "type": "jsonl",
                                            "host": "192.168.200.5",
                                            "port": 9000,
                                            "options": {
                                              "auth_pass": null,
                                              "enableReadyCheck": true,
                                              "host": "0.0.0.0",
                                              "port": 9000,
                                              "db": 0,
                                              "family": 0,
                                              "password": null,
                                              "autoResubscribe": false,
                                              "connectionName": "host.macmini-iobroker",
                                              "retry_max_delay": 5000
                                            },
                                        

                                        leider auch nicht besser...

                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Glasfaser last edited by

                                          @glasfaser sagte in iob diag - Skript:

                                          jsonl Größe
                                          ls -lh /opt/iobroker/iobroker-data/objects.jsonl

                                          Ich hab jetzt eine Sektion die in
                                          'Neuralgischen Verzeichnissen' nach dicken Brummern schaut:

                                          *** DATEISYSTEM ***
                                          Filesystem     Type      Size  Used Avail Use% Mounted on
                                          /dev/root      ext4      110G  5.6G  100G   6% /
                                          devtmpfs       devtmpfs  3.7G     0  3.7G   0% /dev
                                          tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                                          tmpfs          tmpfs     1.6G  944K  1.6G   1% /run
                                          tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
                                          /dev/sda1      vfat      253M   31M  222M  13% /boot
                                          tmpfs          tmpfs     786M   16K  786M   1% /run/user/1000
                                          
                                          Daten in neuralgischen Verzeichnissen:
                                          
                                          /var:
                                          1.4G    /var/
                                          539M    /var/cache
                                          524M    /var/cache/apt
                                          451M    /var/log
                                          433M    /var/log/journal/2e598e52b8284ace9a4e9b9ddae65487
                                          
                                          /opt/iobroker/backups:
                                          4.0K    /opt/iobroker/backups/
                                          
                                          /opt/iobroker/iobroker-data:
                                          241M    /opt/iobroker/iobroker-data/
                                          144M    /opt/iobroker/iobroker-data/files
                                          68M     /opt/iobroker/iobroker-data/backup-objects
                                          48M     /opt/iobroker/iobroker-data/files/javascript.admin
                                          32M     /opt/iobroker/iobroker-data/files/javascript.admin/static
                                          
                                          Die 5 größten Dateien in iobroker-data:
                                           21M objects.jsonl
                                          9.7M states.jsonl
                                          8.0K iobroker.json
                                          4.0K zigbee_0
                                          4.0K states.jsonl.lock
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 2
                                          • Thomas Braun
                                            Thomas Braun Most Active @Thomas Braun last edited by

                                            ToDo wäre dann noch die Identifikation von 'MultiHost', oder?

                                            Homoran 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

                                            784
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            148546
                                            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