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.
    • Thomas Braun
      Thomas Braun Most Active last edited by

      @fritz-0

      Ich habe selber kein Multihost in Betrieb, kann das also nicht testen.
      Die Identifizierung ist aber etwas tricky, ich habe hier schon diverse 'false positives' gesehen, was Multihost angeht. Daher würde ich da selber die Finger von lassen. Aber auf github nehme ich gerne PRs an.

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

        Eine Bitte an die Tester die mit LXCs, Docker und anderem virtuellem Zeuch 😉 unterwegs sind:
        Könnt ihr nochmal das Skript wie oben im ersten Posting lokal installieren und zurückmelden, was an der Stelle "FILESYSTEM" bei diesen Systemen passiert und was da zu journalctl zurückgemeldet wird?

        Files in neuralgic directories:
        
        /var:
        570M    /var/
        203M    /var/cache
        195M    /var/cache/apt
        164M    /var/lib
        130M    /var/lib/apt
        ********* HIER WIRDS INTERESSANT ********
        Archived and active journals take up 93.1M in the file system.
        
        /opt/iobroker/backups:
        4.0K    /opt/iobroker/backups/
        

        Danke schön!

        Glasfaser Negalein E 3 Replies Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Thomas Braun last edited by Glasfaser

          @thomas-braun

          Files in neuralgic directories:
          
          /var:
          sudo: unable to resolve host iobrokerv6: Name or service not known
          32M     /var/
          30M     /var/lib
          18M     /var/lib/apt/lists
          18M     /var/lib/apt
          13M     /var/lib/dpkg
          
          ./iob_diag: line 118: journalctl: command not found
          
          /opt/iobroker/backups:
          582M    /opt/iobroker/backups/
          
          

          Edit :

          /var:
          sudo: unable to resolve host iobrokerv6: Name or service not known
          

          nicht beachten das liegt an der Host installation ... im Bridge ist diese Meldung nicht !

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

            @glasfaser

            Thx. Und welche Konservenform ist das?

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

              @thomas-braun

              Siehe Signatur

              Synology 918+ 16GB

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

                @thomas-braun sagte in iob diag - Skript:

                LXCs

                bekomm leider nur die Endauswertung

                ======================= SUMMARY =======================
                                     v.2023-04-02
                
                
                Operatingsystem:        Ubuntu 20.04.5 LTS
                Kernel:                 5.15.30-2-pve
                Installation:           lxc
                Timezone:               Europe/Vienna (CEST, +0200)
                User-ID:                1001
                X-Server:               false
                Boot Target:            graphical.target
                
                Pending OS-Updates:     50
                Pending iob updates:    2
                
                Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                        /usr/bin/node           v16.19.0
                                        /usr/bin/npm            8.19.3
                                        /usr/bin/npx            8.19.3
                
                Recommended versions are nodejs 18.x.y and npm 9.x.y
                
                MEMORY:
                              total        used        free      shared  buff/cache   available
                Mem:            10G        5.4G        2.9G        0.0K        1.7G        4.6G
                Swap:          2.0G        1.3G        731M
                Total:          12G        6.8G        3.7G
                
                Active iob-Instances:   58
                Active repo(s): Beta (latest)
                
                ioBroker Core:          js-controller           4.0.24
                                        admin                   6.4.3
                
                ioBroker Status:        iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Status admin and web instance:
                + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                Objects:                49391
                States:                 45491
                
                Size of iob-Database:
                
                58M     /opt/iobroker/iobroker-data/objects.jsonl
                29M     /opt/iobroker/iobroker-data/objects.json.migrated
                29M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                0       /opt/iobroker/iobroker-data/objects.json.broken
                148M    /opt/iobroker/iobroker-data/states.jsonl
                9.4M    /opt/iobroker/iobroker-data/states.json.migrated
                9.4M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                0       /opt/iobroker/iobroker-data/states.json.broken
                
                
                
                =================== END OF SUMMARY ====================
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Negalein last edited by Thomas Braun

                  @negalein sagte in iob diag - Skript:

                  bekomm leider nur die Endauswertung

                  Das ist aber auch das im iobroker inkludierte Skript. Aus meinem Repo kommt die Version von heute. 2023-04-04

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

                    @thomas-braun sagte in iob diag - Skript:

                    Das ist aber auch das im iobroker inkludierte Skript. Aus meinem Repo kommt die Version von heute. 2023-04-04

                    ich hab das vom 1. Post gemacht

                    curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_diag > iob_diag
                    chmod 744 iob_diag
                    ./iob_diag
                    
                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Negalein last edited by

                      @negalein

                      Jipp ich auch

                      das kommt :

                      Skript v.2023-04-02
                      
                      1 Reply Last reply Reply Quote 0
                      • E
                        emil70 @Thomas Braun last edited by

                        @thomas-braun

                        Files in neuralgic directories:
                        
                        /var:
                        16M     /var/
                        13M     /var/lib/dpkg
                        13M     /var/lib
                        12M     /var/lib/dpkg/info
                        1.9M    /var/cache/debconf
                        
                        ./iob_diag: line 118: journalctl: command not found
                        
                        /opt/iobroker/backups:
                        94M     /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        950M    /opt/iobroker/iobroker-data/
                        810M    /opt/iobroker/iobroker-data/files
                        231M    /opt/iobroker/iobroker-data/files/vis-2-beta
                        143M    /opt/iobroker/iobroker-data/files/vis-2-beta/static
                        142M    /opt/iobroker/iobroker-data/files/vis-2-beta/static/js
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @emil70 last edited by

                          @emil70 @Glasfaser
                          Dann muss ich das für Docker abfangen, wenn der das nicht kennt.

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

                            @thomas-braun

                            jipp

                            root@iobrokerv6:/opt/iobroker# journalctl --disk-usage
                            bash: journalctl: command not found
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Glasfaser last edited by

                              @glasfaser

                              Kein Problem, dann schließe ich das für Docker aus.
                              Hatte ich schon mal erwähnt, das ich das Zeug überhaupt nicht gut finde? 😄

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

                                @thomas-braun sagte in iob diag - Skript:

                                Hatte ich schon mal erwähnt, das ich das Zeug überhaupt nicht gut finde?

                                Nee ... überhaupt nicht 😉

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

                                  @thomas-braun

                                  Hast du noch mehr geändert !?

                                  sehe gerade :

                                  *** Time and Time Zones ***
                                  ./iob_diag: line 76: timedatectl: command not found
                                  
                                  *** User and Groups ***
                                  root
                                  /root
                                  root
                                  
                                  *** X-Server-Setup ***
                                  X-Server:       false
                                  Desktop:
                                  Terminal:
                                  ./iob_diag: line 93: systemctl: command not found
                                  Boot Target:
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                                    @glasfaser

                                    Ja, musste ich für Debian 'Bookworm' umstellen. Da wird die Zeit anders angepackt. Aber ich hab wohl da nicht dran gedacht, dass der Docker halt nicht per systemd gestartet wird.
                                    Muss ich da wohl auch den Code verzweigen.
                                    Kannst nochmal nach dem journalctl schauen? Sollte jetzt raus sein.

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

                                      @thomas-braun sagte in iob diag - Skript:

                                      Kannst nochmal nach dem journalctl schauen? Sollte jetzt raus sein.

                                      Upps

                                      Files in neuralgic directories:
                                      
                                      /var:
                                      sudo: unable to resolve host iobrokerv6: Name or service not known
                                      32M     /var/
                                      30M     /var/lib
                                      18M     /var/lib/apt/lists
                                      18M     /var/lib/apt
                                      13M     /var/lib/dpkg
                                      ./iob_diag: line 303: syntax error: unexpected end of file
                                      root@iobrokerv6:/opt/iobroker#
                                      
                                      
                                      Negalein Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • E
                                        emil70 @Thomas Braun last edited by

                                        @thomas-braun

                                        Habe bei mir auch noch mal genau geguckt

                                        Diese Fehlermeldungen gibt es

                                        *** Time and Time Zones ***
                                        ./iob_diag: line 76: timedatectl: command not found
                                        
                                        *** X-Server-Setup ***
                                        X-Server:       false
                                        Desktop: 
                                        Terminal: 
                                        ./iob_diag: line 93: systemctl: command not found
                                        
                                        ./iob_diag: line 118: journalctl: command not found
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @Glasfaser last edited by

                                          @glasfaser sagte in iob diag - Skript:

                                          Upps

                                          auch gerade gehabt

                                          *** FILESYSTEM ***
                                          Filesystem                       Type      Size  Used Avail Use% Mounted on
                                          /dev/mapper/pve-vm--100--disk--0 ext4       20G   15G  4.0G  79% /
                                          10.0.1.21:/volume1/Backups       nfs4       14T  9.5T  4.6T  68% /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
                                          
                                          Messages concerning ext4 filesystem in dmesg:
                                          dmesg: read kernel buffer failed: Operation not permitted
                                          
                                          Show mounted filesystems (real ones only):
                                          TARGET                           SOURCE                                FSTYPE     OPTIONS
                                          /                                /dev/mapper/pve-vm--100--disk--0      ext4       rw,relatime,stripe=16
                                          |-/opt/iobroker/backups          10.0.1.21:/volume1/Backups            nfs4       rw,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.1.201,local_lock=none,addr=10.0.1.21
                                          |-/proc/cpuinfo                  lxcfs[/proc/cpuinfo]                  fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/diskstats                lxcfs[/proc/diskstats]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/loadavg                  lxcfs[/proc/loadavg]                  fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/meminfo                  lxcfs[/proc/meminfo]                  fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/stat                     lxcfs[/proc/stat]                     fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/swaps                    lxcfs[/proc/swaps]                    fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          |-/proc/uptime                   lxcfs[/proc/uptime]                   fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          `-/sys/devices/system/cpu/online lxcfs[/sys/devices/system/cpu/online] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                                          
                                          Files in neuralgic directories:
                                          
                                          /var:
                                          2.5G    /var/
                                          2.0G    /var/log/journal/b354c482f7cc342776f020ee5ea440c3
                                          2.0G    /var/log/journal
                                          2.0G    /var/log
                                          307M    /var/lib
                                          ./iob_diag: line 303: syntax error: unexpected end of file
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @Thomas Braun last edited by Glasfaser

                                            @thomas-braun

                                            Geht :

                                            Files in neuralgic directories:
                                            /var:
                                            sudo: unable to resolve host iobrokerv6: Name or service not known
                                            32M     /var/
                                            30M     /var/lib
                                            18M     /var/lib/apt/lists
                                            18M     /var/lib/apt
                                            13M     /var/lib/dpkg
                                            Orrrrrrrrrr... Docker doesn't read journals!
                                            /opt/iobroker/backups:
                                            582M    /opt/iobroker/backups/
                                            `
                                            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

                                            513
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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