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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Thomas Braun last edited by

      @thomas-braun sagte in iob diag - Skript:

      @homoran

      Lad das skript nochmal. Hab was umgestellt.

      noch ein wenig Finetuning bitte!

      *** Repositories und OS-Updates ***
      OK:1 http://deb.debian.org/debian bullseye InRelease
      OK:2 http://deb.debian.org/debian bullseye-updates InRelease
      OK:3 http://security.debian.org/debian-security bullseye-security InRelease
      OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
      Paketlisten werden gelesen… Fertig
      Ausstehende Updates: Die 72
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @mcm1957 last edited by

        @mcm57 sagte in iob diag - Skript:

        Bitte überlegen, ob man das irgendwie pinnen könnte

        wird es geben wenn alles "final" ist

        1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @Thomas Braun last edited by

          @thomas-braun sagte in iob diag - Skript:

          Und 160 ist schon echt viel.

          so, bin durch 🙂

          *** BASISSYSTEM ***
          CPU-Architektur: x86_64
          Docker: Nein
          LXC: lxc
          Distributor ID: Ubuntu
          Description:    Ubuntu 20.04.5 LTS
          Release:        20.04
          Codename:       focal
          
          NAME="Ubuntu"
          VERSION="20.04.5 LTS (Focal Fossa)"
          ID=ubuntu
          ID_LIKE=debian
          PRETTY_NAME="Ubuntu 20.04.5 LTS"
          VERSION_ID="20.04"
          HOME_URL="https://www.ubuntu.com/"
          SUPPORT_URL="https://help.ubuntu.com/"
          BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
          PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
          VERSION_CODENAME=focal
          UBUNTU_CODENAME=focal
          
          Systemuptime und Load:
           15:55:52 up 59 days,  4:13,  1 user,  load average: 1.50, 2.39, 2.23
          CPU threads: 4
          
          *** Zeit und Zeitzonen ***
          Sun Nov  6 14:55:52 UTC 2022
          Sun Nov  6 15:55:52 CET 2022
          CET +0100
          Europe/Vienna
          
          *** User und Gruppen ***
          nega
          /home/nega
          nega adm dialout sudo users iobroker
          
          *** X-Server-Setup ***
          X-Server: Nein
          Desktop:
          Konsole: tty
          
          *** ARBEITSSPEICHER ***
                        total        used        free      shared  buff/cache   available
          Mem:           6.1G        4.8G        310M        0.0K        1.0G        1.3G
          Swap:          2.0G        1.7G        302M
          Total:         8.2G        6.5G        613M
          
                   6144 M total memory
                   4799 M used memory
                   4068 M active memory
                   1349 M inactive memory
                    310 M free memory
                      0 M buffer memory
                   1034 M swap cache
                   2048 M total swap
                   1745 M used swap
                    302 M free swap
          
          *** DATEISYSTEM ***
          Filesystem                       Type      Size  Used Avail Use% Mounted on
          /dev/mapper/pve-vm--100--disk--0 ext4       20G   14G  5.1G  73% /
          10.0.1.21:/volume1/Backups       nfs4       14T  7.6T  6.5T  54% /opt/iobroker/backups
          none                             tmpfs     492K  4.0K  488K   1% /dev
          udev                             devtmpfs  7.8G     0  7.8G   0% /dev/tty
          tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
          tmpfs                            tmpfs     1.6G  136K  1.6G   1% /run
          tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
          tmpfs                            tmpfs     1.6G     0  1.6G   0% /run/user/1001
          
          Daten in neuralgischen Verzeichnissen:
          
          /var:
          2.5G    /var/
          2.0G    /var/log/journal/b354c482f7cc342776f020ee5ea440c3
          2.0G    /var/log/journal
          2.0G    /var/log
          294M    /var/lib
          
          /opt/iobroker/backups:
          3.3G    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          3.9G    /opt/iobroker/iobroker-data/
          2.5G    /opt/iobroker/iobroker-data/history
          1014M   /opt/iobroker/iobroker-data/files
          341M    /opt/iobroker/iobroker-data/files/vis.0
          316M    /opt/iobroker/iobroker-data/backup-objects
          
          Die 5 größten Dateien in iobroker-data:
           59M states.jsonl
           47M objects.jsonl
           29M objects.json.migrated
           29M objects.json.bak.migrated
          9.4M states.json.migrated
          
          *** Nodejs-Installation ***
          /usr/bin/nodejs         v16.18.1
          /usr/bin/node           v16.18.1
          /usr/bin/npm            8.19.2
          
          nodejs:
            Installed: 16.18.1-deb-1nodesource1
            Candidate: 16.18.1-deb-1nodesource1
            Version table:
           *** 16.18.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                  100 /var/lib/dpkg/status
               10.19.0~dfsg-3ubuntu1 500
                  500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
          
          *** ioBroker-Installation ***
          
          Versionsnummern der Kern-Adapter
          js-controller:  4.0.23
          Admin-Adapter:  6.2.23
          
          ioBroker-Repos
          Stable (default): http://download.iobroker.net/sources-dist.json
          Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo(s): Beta (latest)
          
          ioBroker-Updates
          Used repository: Beta (latest)
          Adapter    "vis-materialdesign": 0.5.9, installed 0.5.5 [Updatable]
          
          Objekte und Zustände
          werden ermittelt - Dies kann einen Moment dauern.
          Objekte:        44024
          Zustände:       40453
          
          *** Repositories und OS-Updates ***
          Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
          Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
          Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
          Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
          Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
          Reading package lists... Done
          Ausstehende Updates: 0
          
          *** Lauschende Ports ***
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          459304853  2031740/sshd: /usr/
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          31745      1/systemd
          tcp        0      0 0.0.0.0:49541           0.0.0.0:*               LISTEN      1000       44973986   199443/wput
          tcp        0      0 0.0.0.0:33179           0.0.0.0:*               LISTEN      1000       44724275   198404/wput
          tcp        0      0 0.0.0.0:41371           0.0.0.0:*               LISTEN      1000       43004499   191228/wput
          tcp        0      0 0.0.0.0:33251           0.0.0.0:*               LISTEN      1000       44643010   198128/wput
          tcp        0      0 0.0.0.0:8701            0.0.0.0:*               LISTEN      1000       40089      770/io.hm-rpc.2
          tcp        0      0 0.0.0.0:57615           0.0.0.0:*               LISTEN      1000       43167669   192281/wput
          tcp        0      0 0.0.0.0:49771           0.0.0.0:*               LISTEN      1000       44518133   197607/wput
          tcp        0      0 0.0.0.0:50049           0.0.0.0:*               LISTEN      1000       44392437   197031/wput
          tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1000       32287      120/iobroker.js-con
          tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1000       34067      120/iobroker.js-con
          tcp        0      0 0.0.0.0:34003           0.0.0.0:*               LISTEN      1000       43824216   194549/wput
          tcp        0      0 0.0.0.0:50219           0.0.0.0:*               LISTEN      1000       43682667   193926/wput
          tcp        0      0 0.0.0.0:50595           0.0.0.0:*               LISTEN      1000       44224282   196358/wput
          tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      1001       459255367  2022180/sshd: nega@
          tcp        0      0 0.0.0.0:34351           0.0.0.0:*               LISTEN      1000       44100092   195644/wput
          tcp        0      0 0.0.0.0:2001            0.0.0.0:*               LISTEN      1000       264468026  1162298/io.hm-rpc.1
          tcp        0      0 0.0.0.0:2010            0.0.0.0:*               LISTEN      1000       264468032  1162305/io.hm-rpc.0
          tcp        0      0 0.0.0.0:59225           0.0.0.0:*               LISTEN      1000       43961951   195082/wput
          tcp        0      0 127.0.0.1:39533         0.0.0.0:*               LISTEN      1000       75833      2444/chrome
          tcp        0      0 0.0.0.0:43455           0.0.0.0:*               LISTEN      1000       43006388   191447/wput
          tcp        0      0 0.0.0.0:35221           0.0.0.0:*               LISTEN      1000       43003855   191402/wput
          tcp        0      0 0.0.0.0:35075           0.0.0.0:*               LISTEN      1000       44974560   199032/wput
          tcp        0      0 0.0.0.0:51879           0.0.0.0:*               LISTEN      1000       44972794   199121/wput
          tcp        0      0 0.0.0.0:43891           0.0.0.0:*               LISTEN      1000       44271852   196521/wput
          tcp        0      0 0.0.0.0:60251           0.0.0.0:*               LISTEN      1000       44627799   198053/wput
          tcp        0      0 0.0.0.0:52405           0.0.0.0:*               LISTEN      1000       44054142   195482/wput
          tcp        0      0 10.0.1.202:8100         0.0.0.0:*               LISTEN      1000       51625      1182/io.doorbird.0
          tcp        0      0 0.0.0.0:44075           0.0.0.0:*               LISTEN      1000       43358491   192556/wput
          tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      106        459305571  2031837/systemd-res
          tcp        0      0 0.0.0.0:52609           0.0.0.0:*               LISTEN      1000       44238554   196384/wput
          tcp        0      0 0.0.0.0:37085           0.0.0.0:*               LISTEN      1000       43005160   191286/wput
          tcp        0      0 0.0.0.0:45139           0.0.0.0:*               LISTEN      1000       44485383   197472/wput
          tcp        0      0 0.0.0.0:37335           0.0.0.0:*               LISTEN      1000       43106212   192002/wput
          tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          33238      296/master
          tcp        0      0 0.0.0.0:53881           0.0.0.0:*               LISTEN      1000       43093131   191976/wput
          tcp        0      0 0.0.0.0:46065           0.0.0.0:*               LISTEN      1000       45025654   199681/wput
          tcp        0      0 0.0.0.0:54035           0.0.0.0:*               LISTEN      1000       44970604   199166/wput
          tcp        0      0 0.0.0.0:54677           0.0.0.0:*               LISTEN      1000       43004848   191522/wput
          tcp        0      0 0.0.0.0:55605           0.0.0.0:*               LISTEN      1000       44348045   196856/wput
          tcp        0      0 0.0.0.0:55641           0.0.0.0:*               LISTEN      1000       44972791   199371/wput
          tcp        0      0 0.0.0.0:55973           0.0.0.0:*               LISTEN      1000       44365268   196933/wput
          tcp        0      0 0.0.0.0:39571           0.0.0.0:*               LISTEN      1000       43340786   192452/wput
          tcp        0      0 0.0.0.0:55901           0.0.0.0:*               LISTEN      1000       44975404   199328/wput
          tcp        0      0 0.0.0.0:39817           0.0.0.0:*               LISTEN      1000       43777455   194268/wput
          tcp        0      0 0.0.0.0:47885           0.0.0.0:*               LISTEN      1000       44286400   196625/wput
          tcp        0      0 0.0.0.0:47903           0.0.0.0:*               LISTEN      1000       44301836   196685/wput
          tcp        0      0 0.0.0.0:56143           0.0.0.0:*               LISTEN      1000       43005597   191328/wput
          tcp        0      0 0.0.0.0:40105           0.0.0.0:*               LISTEN      1000       43154688   192203/wput
          tcp        0      0 0.0.0.0:56613           0.0.0.0:*               LISTEN      1000       44207006   196223/wput
          tcp        0      0 0.0.0.0:40239           0.0.0.0:*               LISTEN      1000       44675322   198247/wput
          tcp        0      0 0.0.0.0:40943           0.0.0.0:*               LISTEN      1000       44972788   199269/wput
          tcp        0      0 0.0.0.0:57187           0.0.0.0:*               LISTEN      1000       44533340   197681/wput
          tcp6       0      0 :::22                   :::*                    LISTEN      0          459304855  2031740/sshd: /usr/
          tcp6       0      0 :::111                  :::*                    LISTEN      0          31747      1/systemd
          tcp6       0      0 ::1:6010                :::*                    LISTEN      1001       459255366  2022180/sshd: nega@
          tcp6       0      0 :::61991                :::*                    LISTEN      1000       31264400   140098/io.harmony.1
          tcp6       0      0 ::1:25                  :::*                    LISTEN      0          33239      296/master
          tcp6       0      0 :::8082                 :::*                    LISTEN      1000       256495404  1127044/io.web.0
          tcp6       0      0 :::8081                 :::*                    LISTEN      1000       279040541  1226006/io.admin.0
          tcp6       0      0 :::8087                 :::*                    LISTEN      1000       241264278  1059609/io.simple-a
          tcp6       0      0 :::8084                 :::*                    LISTEN      1000       64858      2100/io.socketio.0
          tcp6       0      0 :::8093                 :::*                    LISTEN      1000       66370      2381/io.rest-api.0
          udp        0      0 0.0.0.0:9898            0.0.0.0:*                           1000       439148881  848/io.mihome.0
          udp        0      0 0.0.0.0:59620           0.0.0.0:*                           1000       318977549  1401696/io.snmp.0
          udp        0      0 0.0.0.0:59889           0.0.0.0:*                           1000       318977550  1401696/io.snmp.0
          udp        0      0 0.0.0.0:44504           0.0.0.0:*                           1000       458560000  1877717/io.xbox.0
          udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1000       31264401   140098/io.harmony.1
          udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1000       352740191  1551038/io.shelly.0
          udp        0      0 127.0.0.53:53           0.0.0.0:*                           106        459305570  2031837/systemd-res
          udp        0      0 10.0.1.202:68           0.0.0.0:*                           105        459303637  2031831/systemd-net
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          31746      1/systemd
          udp6       0      0 :::111                  :::*                                0          31748      1/systemd
          
          
          =================== ZUSAMMENFASSUNG ====================
          
          
          Betriebssystem:         Ubuntu 20.04.5 LTS
          Installation:           lxc
          Zeitzone:               Europe/Vienna
          User-ID:                1001
          X-Server:               deaktiv
          Nodejs-Installation:    /usr/bin/nodejs         v16.18.1
                                  /usr/bin/node           v16.18.1
                                  /usr/bin/npm            8.19.2
          ioBroker Core:          js-controller           4.0.23
                                                  admin:  6.2.23
          Active repo(s): Beta (latest)
          Objekte:                44024
          Zustände:               40453
          
          Größe der iob-Datenbanken:
          
           12K backup-objects
           29M objects.json.bak.migrated
             0 objects.json.broken
           29M objects.json.migrated
           53M objects.jsonl
          4.0K objects.jsonl.lock
          9.4M states.json.bak.migrated
             0 states.json.broken
          9.4M states.json.migrated
           61M states.jsonl
          4.0K states.jsonl.lock
          
          
          Homoran 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Homoran last edited by

            @homoran sagte in iob diag - Skript:

            noch ein wenig Finetuning bitte!

            Hmmmm. Da ist der Aufbau bei der englischen und der deutschen Ausgabe anders...
            Ich glaube, ich zwinge die Ausgaben im skript auf englisch, das ist dann für alle Sprachen gleich...

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

              @thomas-braun aus gegebenem Anlass von letztens: Uhrzeit und ntp Status? 😉

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

                @apollon77 sagte in iob diag - Skript:

                aus gegebenem Anlass von letztens: Uhrzeit und ntp Status?

                Ist rudimentär drin. Könnte man auch noch etwas fester abklopfen...

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

                  @negalein sagte in iob diag - Skript:

                                          *** Zeit und Zeitzonen ***                                                                    
                  

                  @apollon77

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

                    @thomas-braun
                    Ja immer english macht m.E. Sinn.
                    In Issues sollte es ja ggF eh in Englisch rein

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

                      @mcm57
                      Ja, das skript müsste man vielleicht multilingual machen. Ist aber aufwändig...

                      @Homoran
                      Versuch bitte nochmal, ich hab die Sprache jetzt im Skript intern auf englisch gesetzt.

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

                        passt

                        *** Repositories und OS-Updates ***
                        Hit:1 http://deb.debian.org/debian bullseye InRelease
                        Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
                        Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                        Hit:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                        Reading package lists... Done
                        Ausstehende Updates: 72
                        

                        vielleich noch irgendwo die Skriptversion rein

                        hab mich zu Tode gecurlt

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

                          @homoran sagte in iob diag - Skript:

                          hab mich zu Tode gecurlt

                          ? Der curl-Befehl holt immer die letzte Version rein.
                          ChangeLog schreiben ist nervig... 🙂

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

                            @thomas-braun sagte in iob diag - Skript:

                            ? Der curl-Befehl holt immer die letzte Version rein.

                            klar.
                            ich wollte fertig sein, bevor du es verkündest und hab zwischendurch mehrfach gecurlt

                            wenn in der Einleitung dann die Version gestanden hätte, hätte ich es nicht starten müssen

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

                              @homoran

                              https://github.com/Grothesk242/iob_diag/blob/main/iob_diag

                              32968345-934b-4fca-927f-3484a6ff195b-grafik.png

                              Das loggt github doch 🙂

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

                                @thomas-braun wäre es bei der Ausgabe im Problemfall nicht interessant ob das Iob-diag aktuell ist?

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

                                  @homoran sagte in iob diag - Skript:

                                  wäre es bei der Ausgabe im Problemfall nicht interessant ob das Iob-diag aktuell ist?

                                  Hab mal in die Überschrift eine Versionsnummer gepackt. Muss ich aber dran denken, die hoch zu drehen...

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

                                    @thomas-braun
                                    Die Versionsnummer ist aber außerhalb dessen, was zwischen den code-tags steht. Wird also evtl nicht mit kopiert. Und in die Zusammenfassung sollte sie auch noch rein.

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

                                      @homoran Nein wenn ist das diag auch ein "wird immer aktuell von server geladen und direkt ausgeführt" ... wie der installer

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

                                        @thomas-braun

                                        Was wäre mit

                                        iob list instances | grep enabled | grep port
                                        

                                        eine kleine Liste , nur die Adapter die " enabled " sind

                                        , wenn einer den ioBroker mit einem Backup aufsetzt z.B. und ein bind eingetragen hat oder welcher Port gerade aktiv gewählt ist ....

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

                                          @glasfaser

                                          Dann wirds wieder lang. Oder meinst du im vollen Diagnosen-Teil?

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

                                            @thomas-braun

                                            nur in der Diagnose ...
                                            deshalb reicht auch schon die "enabled" Adapter ,der Rest interessiert erstmal nicht .

                                            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

                                            976
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            715
                                            134474
                                            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