Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Drucker SNMP Konfiguration

    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

    Drucker SNMP Konfiguration

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @Timmss last edited by

      @timmss

      Adapter Grün?

      T 1 Reply Last reply Reply Quote 0
      • T
        Timmss @sigi234 last edited by

        @sigi234 Adapter ist gelb.

        Ich habe es mal bei einem Drucker getestet. Er ist angeschalten, befindet sich aber im Energiesparmodus. Ich weiß nicht genau, ob das die Ursache für das nicht funktionieren ist.

        Ein Ping funktioniert jedenfalls erfolgreich:

        root@svr-smartoffice:~# ping 192.168.240.63
        PING 192.168.240.63 (192.168.240.63) 56(84) bytes of data.
        64 bytes from 192.168.240.63: icmp_seq=1 ttl=254 time=2.08 ms
        64 bytes from 192.168.240.63: icmp_seq=2 ttl=254 time=1.03 ms
        64 bytes from 192.168.240.63: icmp_seq=3 ttl=254 time=2.03 ms
        64 bytes from 192.168.240.63: icmp_seq=4 ttl=254 time=1.09 ms
        64 bytes from 192.168.240.63: icmp_seq=5 ttl=254 time=0.956 ms
        64 bytes from 192.168.240.63: icmp_seq=6 ttl=254 time=0.649 ms
        64 bytes from 192.168.240.63: icmp_seq=7 ttl=254 time=0.434 ms
        64 bytes from 192.168.240.63: icmp_seq=8 ttl=254 time=0.498 ms
        64 bytes from 192.168.240.63: icmp_seq=9 ttl=254 time=0.547 ms
        64 bytes from 192.168.240.63: icmp_seq=10 ttl=254 time=1.58 ms
        64 bytes from 192.168.240.63: icmp_seq=11 ttl=254 time=2.35 ms
        64 bytes from 192.168.240.63: icmp_seq=12 ttl=254 time=0.386 ms
        64 bytes from 192.168.240.63: icmp_seq=13 ttl=254 time=0.484 ms
        64 bytes from 192.168.240.63: icmp_seq=14 ttl=254 time=1.73 ms
        64 bytes from 192.168.240.63: icmp_seq=15 ttl=254 time=1.19 ms
        64 bytes from 192.168.240.63: icmp_seq=16 ttl=254 time=61.6 ms
        ^C
        --- 192.168.240.63 ping statistics ---
        16 packets transmitted, 16 received, 0% packet loss, time 15134ms
        rtt min/avg/max/mdev = 0.386/4.912/61.568/14.641 ms
        
        

        Hier nochmal meine jetzigen Geräteeinstellungen:

        37ca02b6-66c8-426f-84ba-ddd14371fa2b-grafik.png

        Vielleicht auch eine falsche SNMP-Version?

        Das sagt jedenfalls das Log:

        2024-07-30 08:44:34.917 - info: host.svr-smartoffice "system.adapter.snmp.0" enabled
        2024-07-30 08:44:34.959 - info: host.svr-smartoffice instance system.adapter.snmp.0 started with pid 80244
        2024-07-30 08:44:35.553 - info: snmp.0 (80244) starting. Version 3.2.0 in /opt/iobroker/node_modules/iobroker.snmp, node: v18.20.3, js-controller: 5.0.19
        2024-07-30 08:44:35.643 - info: snmp.0 (80244) adapter initializing, chunk size set to 20
        2024-07-30 08:44:55.774 - info: snmp.0 (80244) [Drucker-HL-8360CDW-Papierstand] device disconnected - request timeout
        2024-07-30 08:44:55.816 - info: snmp.0 (80244) [Drucker-HL-8360CDW-TonerstandSchwarz] device disconnected - request timeout
        2024-07-30 08:44:55.817 - info: snmp.0 (80244) [Drucker-HL-8360CDW-TonerstandCyan] device disconnected - request timeout
        2024-07-30 08:44:55.817 - info: snmp.0 (80244) [Drucker-HL-8360CDW-TonerstandMagenta] device disconnected - request timeout
        2024-07-30 08:44:55.820 - info: snmp.0 (80244) [Drucker-HL-8360CDW-TonerstandGelb] device disconnected - request timeout
        2024-07-30 08:45:46.017 - warn: admin.0 (31808) snmp has an invalid jsonConfig: [{"instancePath":"/items/options/items/optChunkSize","schemaPath":"#/definitions/numberProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"width"},"message":"must NOT have additional properties"},{"instancePath":"/items/options","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
        2024-07-30 08:47:55.310 - warn: admin.0 (31808) snmp has an invalid jsonConfig: [{"instancePath":"/items/options/items/optChunkSize","schemaPath":"#/definitions/numberProps/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"width"},"message":"must NOT have additional properties"},{"instancePath":"/items/options","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
        
        
        sigi234 DJMarc75 2 Replies Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @Timmss last edited by

          @timmss

          Screenshot (891).png Screenshot (892).png

          1 Reply Last reply Reply Quote 1
          • DJMarc75
            DJMarc75 @Timmss last edited by

            @timmss

            Standardcommunity bei V1 ist public

            Screenshot 2024-07-30 090102.png

            1 Reply Last reply Reply Quote 1
            • T
              Timmss last edited by

              Ich habe die Konfiguration angepasst:

              494a9678-cd60-44b1-a653-fdc9aee1a5bb-grafik.png

              a4ac8b04-b390-4f4d-b25f-82691fd75449-grafik.png

              Und erst, als ich bei Community public eingetragen habe, hat es funktioniert.

              Adapter ist grün, wobei diese Werte angezeigt werden:

              4cb01eb4-440a-4bc8-951d-82a497e66a94-grafik.png

              Irgendwas scheint noch nicht ganz richtig

              1 Reply Last reply Reply Quote 0
              • T
                Timmss last edited by Timmss

                Die OID sind vermutlich nicht die richtigen.

                Kann wer einen MIB-Browser empfehlen, mit dem ich das mal checken könnte?

                DJMarc75 Codierknecht 2 Replies Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @Timmss last edited by

                  @timmss sagte in Drucker SNMP Konfiguration:

                  einen MIB-Browser empfehlen

                  ich nutze diesen hier

                  http://www.ireasoning.com/mibbrowser.shtml

                  1 Reply Last reply Reply Quote 0
                  • Codierknecht
                    Codierknecht Developer Most Active @Timmss last edited by

                    @timmss sagte in Drucker SNMP Konfiguration:

                    Kann wer einen MIB-Browser empfehlen, mit dem ich das mal checken könnte?

                    Ich verwende den hier:
                    https://www.paessler.com/tools/snmptester

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Timmss @Codierknecht last edited by

                      @codierknecht Ich habe diesen jetzt verwendet:

                      30.07.2024 11:21:22 (6667 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.1 = "Black Toner Cartridge" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6675 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.2 = "Cyan Toner Cartridge" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6683 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.3 = "Magenta Toner Cartridge" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6690 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.4 = "Yellow Toner Cartridge" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6699 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.5 = "Waste Toner Box" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6707 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.6 = "Belt Unit" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6717 ms) : 1.3.6.1.2.1.43.11.1.1.6.1.7 = "Drum Unit" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (6726 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.1 = "13" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6734 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.2 = "13" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6743 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.3 = "13" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6752 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.4 = "13" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6762 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.5 = "13" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6771 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.6 = "7" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6783 ms) : 1.3.6.1.2.1.43.11.1.1.7.1.7 = "7" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6793 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.1 = "-2" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6801 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.2 = "-2" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6810 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.3 = "-2" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6819 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.4 = "-2" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6829 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.5 = "-2" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6840 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.6 = "100000" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6851 ms) : 1.3.6.1.2.1.43.11.1.1.8.1.7 = "30000" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6861 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.1 = "-3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6870 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.2 = "-3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6880 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.3 = "-3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6888 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.4 = "-3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6898 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.5 = "-3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6909 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.6 = "79483" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6922 ms) : 1.3.6.1.2.1.43.11.1.1.9.1.7 = "8055" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6936 ms) : 1.3.6.1.2.1.43.12.1.1.2.1.1 = "1" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6944 ms) : 1.3.6.1.2.1.43.12.1.1.2.1.2 = "1" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6951 ms) : 1.3.6.1.2.1.43.12.1.1.2.1.3 = "1" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6960 ms) : 1.3.6.1.2.1.43.12.1.1.2.1.4 = "1" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6968 ms) : 1.3.6.1.2.1.43.12.1.1.3.1.1 = "3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6983 ms) : 1.3.6.1.2.1.43.12.1.1.3.1.2 = "3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (6991 ms) : 1.3.6.1.2.1.43.12.1.1.3.1.3 = "3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (7000 ms) : 1.3.6.1.2.1.43.12.1.1.3.1.4 = "3" [ASN_INTEGER]
                      30.07.2024 11:21:22 (7007 ms) : 1.3.6.1.2.1.43.12.1.1.4.1.1 = "black" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (7016 ms) : 1.3.6.1.2.1.43.12.1.1.4.1.2 = "cyan" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (7023 ms) : 1.3.6.1.2.1.43.12.1.1.4.1.3 = "magenta" [ASN_OCTET_STR]
                      30.07.2024 11:21:22 (7032 ms) : 1.3.6.1.2.1.43.12.1.1.4.1.4 = "yellow" [ASN_OCTET_STR]
                      
                      Hier stehen die OID-Werte auch mit -3 da. Weiter gefunden habe ich leider auch nichts, auch nicht in den Handbüchern von Brother direkt
                      
                      sigi234 1 Reply Last reply Reply Quote 0
                      • T
                        Timmss last edited by

                        Was ich gerade lese, für den Tonerstand in % gibt es noch keine funktionierende OID, sondern nur der Parser kann das?

                        1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @Timmss last edited by

                          @timmss
                          Hast du einen Brother Drucker?

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Timmss @sigi234 last edited by

                            @sigi234 Ja

                            sigi234 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @Timmss last edited by sigi234

                              @timmss sagte in Drucker SNMP Konfiguration:

                              @sigi234 Ja

                              https://forum.iobroker.net/topic/63454/brother-drucker?_=1722332240656

                              Screenshot (893).png

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                Timmss @sigi234 last edited by

                                @sigi234 Was hast du für eine URL, http://[IP]/general/information.html?kind=item oder http://[IP]/general/information.html

                                sigi234 Codierknecht 2 Replies Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active @Timmss last edited by

                                  @timmss sagte in Drucker SNMP Konfiguration:

                                  @sigi234 Was hast du für eine URL, http://[IP]/general/information.html?kind=item oder http://[IP]/general/information.html

                                  http://IP/general/information.html?kind=item

                                  1 Reply Last reply Reply Quote 0
                                  • Codierknecht
                                    Codierknecht Developer Most Active @Timmss last edited by

                                    @timmss sagte in Drucker SNMP Konfiguration:

                                    @sigi234 Was hast du für eine URL, http://[IP]/general/information.html?kind=item oder http://[IP]/general/information.html

                                    Ich verwende http://ip/general/information.html

                                    Ich habe allerdings den RegEx etwas anpassen müssen:

                                    \(BK\)\*\*<\/dt><dd>([0-9.]*)%
                                    \(C\)\*\*<\/dt><dd>([0-9.]*)%
                                    \(M\)\*\*<\/dt><dd>([0-9.]*)%
                                    \(Y\)\*\*<\/dt><dd>([0-9.]*)%
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      Timmss @Codierknecht last edited by

                                      @codierknecht said in Drucker SNMP Konfiguration:

                                      (BK)**</dt><dd>([0-9.]*)%

                                      Ich bekomme bei deiner und @sigi234's Methode leider nur (null) als Wert.

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @Timmss last edited by sigi234

                                        @timmss sagte in Drucker SNMP Konfiguration:

                                        @codierknecht said in Drucker SNMP Konfiguration:

                                        (BK)**</dt><dd>([0-9.]*)%

                                        Ich bekomme bei deiner und @sigi234's Methode leider nur (null) als Wert.

                                        Zeig mal dir Einstellungen

                                        Wenn du den Link im Browser aufruft, kommst du da auf den Drucker?

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          Timmss @sigi234 last edited by

                                          @sigi234 Der Link funktioniert auf beide Arten ja.

                                          Einmal deine Art mit der URL http://192.168.240.63/general/information.html?kind=item:

                                          3681f115-5523-429b-a25f-44532303276f-grafik.png

                                          Und einmal von @Codierknecht mit URL http://192.168.240.63/general/information.html:

                                          be24dc23-2023-441d-9f34-e7227f3145fb-grafik.png

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Timmss last edited by

                                            Ich müsste anscheinend meinen RegEx etwas überarbeiten.

                                            Codierknecht 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

                                            958
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            58
                                            2609
                                            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