Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter SNMP Drucker, Synology, QNAP etc auslesen

    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

    Adapter SNMP Drucker, Synology, QNAP etc auslesen

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

      @Marcolotti:

      Guten Abend,

      wäre eine Maßnahme, den SNMP nun endlich in das offizielle Repository aufzunehmen. Oder?

      Gruß Marco

      P.S. Findet ja irgendwie kaum jemand. `
      ja, definitiv aufnehmbar.

      1 Reply Last reply Reply Quote 0
      • K
        Kueppert last edited by

        MIBs Drucker DELL e525w:

        Toner 1:				.1.3.6.1.2.1.43.11.1.1.6.1.1	OctetString
        Toner 2:				.1.3.6.1.2.1.43.11.1.1.6.1.2	OctetString
        Toner 3:				.1.3.6.1.2.1.43.11.1.1.6.1.3	OctetString
        Toner 4:				.1.3.6.1.2.1.43.11.1.1.6.1.4	OctetString
        Gesamt-Kapazität Toner 1:	.1.3.6.1.2.1.43.11.1.1.8.1.1	Integer
        Gesamt-Kapazität Toner 2:	.1.3.6.1.2.1.43.11.1.1.8.1.2	Integer
        Gesamt-Kapazität Toner 3:	.1.3.6.1.2.1.43.11.1.1.8.1.3	Integer
        Gesamt-Kapazität Toner 4:	.1.3.6.1.2.1.43.11.1.1.8.1.4	Integer
        Rest-Kapazität Toner 1:	.1.3.6.1.2.1.43.11.1.1.9.1.1	Integer
        Rest-Kapazität Toner 2:	.1.3.6.1.2.1.43.11.1.1.9.1.2	Integer
        Rest-Kapazität Toner 3:	.1.3.6.1.2.1.43.11.1.1.9.1.3	Integer
        Rest-Kapazität Toner 4:	.1.3.6.1.2.1.43.11.1.1.9.1.4	Integer
        Farbe Toner 1:			.1.3.6.1.2.1.43.12.1.1.4.1.1	OctetString
        Farbe Toner 2:			.1.3.6.1.2.1.43.12.1.1.4.1.2	OctetString
        Farbe Toner 3:			.1.3.6.1.2.1.43.12.1.1.4.1.3	OctetString
        Farbe Toner 4:			.1.3.6.1.2.1.43.12.1.1.4.1.4	OctetString
        Bezeichnung Drucker:		.1.3.6.1.4.1.2699.1.2.1.2.1.1.2.1	OctetString
        IP4 Drucker			.1.3.6.1.4.1.26266.886.300.369.8531.2.1.3.1.0	IpAddress
        IP6 Drucker			.1.3.6.1.4.1.26266.886.300.369.8531.2.1.4.1.0	OctetString
        
        

        Synology DS415+:

        Syno-Model	.1.3.6.1.4.1.6574.1.5.1.0	DS415+	OctetString
        DSM-Version	.1.3.6.1.4.1.6574.1.5.3.0	DSM 6.1-15217	OctetString
        Festplatte 1	.1.3.6.1.4.1.6574.2.1.1.3.0	WD20EFRX-68AX9N0        	OctetString
        Festplatte 2	.1.3.6.1.4.1.6574.2.1.1.3.1	WD20EFRX-68AX9N0        	OctetString
        Festplatte 3	.1.3.6.1.4.1.6574.2.1.1.3.2	HDN724030ALE640         	OctetString
        Festplatte 4	.1.3.6.1.4.1.6574.2.1.1.3.3	HDN724030ALE640         	OctetString
        RAM gesamt	.1.3.6.1.4.1.2021.4.5.0	8164804	Integer
        RAM frei	.1.3.6.1.4.1.2021.4.11.0	6874348	Integer
        CPU User	.1.3.6.1.4.1.2021.11.9.0	1	Integer
        CPU System	.1.3.6.1.4.1.2021.11.10.0	0	Integer
        CPU Idle	.1.3.6.1.4.1.2021.11.11.0	97	Integer
        USV-Hersteller	.1.3.6.1.4.1.6574.4.1.2.0	APC	OctetString
        USV-Bezeichnung	.1.3.6.1.4.1.6574.4.1.1.0	Back-UPS ES 700G	OctetString
        USV_serial	.1.3.6.1.4.1.6574.4.1.3.0	5B1646T45194  	OctetString
        USV-Ladezustand	.1.3.6.1.4.1.6574.4.3.1.1.0	100.0	Opaque
        USV_charge_low	.1.3.6.1.4.1.6574.4.3.1.2.0	10.0	Opaque
        USV_charge_warning	.1.3.6.1.4.1.6574.4.3.1.4.0	50.0	Opaque
        USV_voltage	.1.3.6.1.4.1.6574.4.3.2.1.0	13.5	Opaque
        USV_voltagenominal	.1.3.6.1.4.1.6574.4.3.2.2.0	12.0	Opaque
        USV_ManufactDate	.1.3.6.1.4.1.6574.4.3.9.0	11/20/2016	OctetString
        USV_type	.1.3.6.1.4.1.6574.4.3.12.0	PbAc	OctetString
        USV_runtime(in s)	.1.3.6.1.4.1.6574.4.3.6.1.0	1627	Integer
        USV_low	.1.3.6.1.4.1.6574.4.3.6.2.0	120	Integer
        USV_sensitivity	.1.3.6.1.4.1.6574.4.4.3.0	medium	OctetString
        USV_transfer high	.1.3.6.1.4.1.6574.4.4.2.3.0	266.0	Opaque
        USV_transfer low	.1.3.6.1.4.1.6574.4.4.2.2.0	180.0	Opaque
        USV_voltage	.1.3.6.1.4.1.6574.4.4.1.1.0	232.0	Opaque
        USV_voltage nominal	.1.3.6.1.4.1.6574.4.4.1.4.0	230.0	Opaque
        
        

        Wäre vielleicht ne gute Idee, eine grosse Liste zu führen?

        VG kueppert

        1 Reply Last reply Reply Quote 0
        • M
          Marcolotti last edited by

          Hallo,

          ich bin gerade dabei einige "Presets" zu erstellen. Mit Discovery wirds schwierig, da z.B. die Synology SNMP kann, dass aber als Standard nicht aktiviert ist. Daher im Admin Menü die IP-Adresse eingeben und ein Preset auswählen. Oder?

          Gruß Marco

          1 Reply Last reply Reply Quote 0
          • K
            Kueppert last edited by

            Finde ich eine gute Idee. Bei der Synology zb vielleicht den Hinweis ergänzen, das snmp aktiviert werden muss wenn das geht…

            Goiler Adapter 😉

            Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

            1 Reply Last reply Reply Quote 0
            • t.omalley
              t.omalley last edited by

              Vielen Dank für diesen extrem nützlichen Adapter, damit kann ich mich jetzt in der gesamten Firma austoben!

              Ich habe nur ein Problem mit dem Schreiben von Werten bei unserem Lancom-Switch. Da kann ich PoE pro Port per MibBrowser problemlos ein- oder ausschalten, nur gelingt mir das mit dem Iobroker-snmp-Adapter nicht. Egal ob ich die Write-Community auf "public" setze - klappt nicht, oder "private" einsetze, bei allem ausser "public" kommt dieser Fehler im Log:

              Error session.get: RequestFailedError: NoSuchName: 1.3.6.1.2.1.105.1.1.1.3.1.19

              Kann ich keine anderslautende Community für write übergeben?

              Standard beim Switch ist:

              Get Community: public

              Set Community: private

              Hat wer eine Idee was ich falsch mache oder umstellen muss?

              Thomas Liebig

              Viele Grüße aus Hameln.

              1 Reply Last reply Reply Quote 0
              • M
                Marcolotti last edited by

                Hallo,

                kannst du mal bitte vom Git updaten?

                Gruß Marco

                1 Reply Last reply Reply Quote 0
                • t.omalley
                  t.omalley last edited by

                  Hallo Marco,

                  hilft nicht, gleiches Resultat. Habe den snmp-Adapter auch komplett neu eingebunden und auch an Switch nochmal gleiche communities verwendet…

                  Braucht man nicht für get und set in den meisten Fällen für SNMPv1/v2 unterschiedliche Communities?

                  Auch der Versuch mit 2 Einträgen (Bild) klappt nicht, da kommen nicht mal mehr Werte vom get an. Allerdings auch keine Fehler im Log. 3152_screenshot_01.jpg

                  1 Reply Last reply Reply Quote 0
                  • A
                    AnthraX last edited by

                    Super Adapter!!!

                    Jetzt bin ich grad noch am OIDs suchen… ein paar hab ich schon, allerdings schreibt er mir nichts in die Objects und auch der Adapter steht auf gelber Ampel. Was kann ich tun? Mehrmaliger restart hab ich schon versucht, auch hab ich mit einem Javascript mal versucht die OID in die State Objects zu schreiben, leider erfolglos.

                    Danke

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

                      Das ist ja mal echt ein genialer Adapter !!!

                      Über den MIB Browser super einfach.

                      Ich habe Daten vom QNAP sowie Canon Laser-Netzwerkdrucker. Wollte ihr die haben ? Wenn ja wie soll ich Sie euch geben ?

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kueppert last edited by

                        @Segway:

                        Das ist ja mal echt ein genialer Adapter !!!

                        Über den MIB Browser super einfach.

                        Ich habe Daten vom QNAP sowie Canon Laser-Netzwerkdrucker. Wollte ihr die haben ? Wenn ja wie soll ich Sie euch geben ? ` Ich würde sie einfach hier tabellarisch hinterlegen. Ich glaube die werden vom Adapter Ersteller gesammelt?!

                        VG Thorsten

                        Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

                        1 Reply Last reply Reply Quote 0
                        • A
                          AnthraX last edited by

                          Nun kommen bei mir auch Daten - hat wohl länger gedauert…

                          Die Samsung OIDs funktionieren bei mir. Die Synology leider nicht.

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

                            @Kueppert:

                            Ich würde sie einfach hier tabellarisch hinterlegen. Ich glaube die werden vom Adapter Ersteller gesammelt?! `
                            Beim Qnap hat der mir knapp 1000 Datenpunkte ausgelesen ! Da kann man einige rauschmeissen, da Sie anscheinend nicht gefüllt sind - daher würde ich Sie eher hier nicht posten wollen :mrgreen:

                            1 Reply Last reply Reply Quote 0
                            • M
                              Marcolotti last edited by

                              Vielen Dank für eure Mühen. In absehbarer Zeit wird der Adapter ausgebaut, bin aber momentan beruflich sehr eingespannt. Sammelt fleißig weiter. 😉

                              Gruß Marco

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kueppert last edited by

                                O.o oh, soviele hatte meine Synology auch… Hab nur die wesentlichen mit Klartext hier gepostet.

                                Dann Pack die sich in eine txt Datei...

                                Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

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

                                  Okay ich mach mal eine Liste fertig. Ich hoffe ich bekomme die irgendwie gut aus dem MIB Browser raus - und dann brauch ich ja nur noch filtern.

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

                                    Kurze Frage:

                                    soll ich das hier reinkopieren ? Dann hat die Liste aber keine Formatierung. Oder als csv oder xls hochladen ?

                                    1 Reply Last reply Reply Quote 1
                                    • Segway
                                      Segway last edited by

                                      Sowas könnte ich mir vorstellen - müsst ihr sagen –> das ist aber nur eine Handvoll erst. Die anderen interessanten kommen noch. Mache ich aber erst wenn ich weiss wie ich es machen soll

                                      QNAP

                                      Name						OID										Type					Access			MIB Module		Description
                                      systemInfo				.1.3.6.1.4.1.24681.1.2			NAS-MIB	
                                      systemCPU-Usage		.1.3.6.1.4.1.24681.1.2.1		OCTET STRING			read-only		NAS-MIB	System CPU usage
                                      systemTotalMem			.1.3.6.1.4.1.24681.1.2.2		OCTET STRING			read-only		NAS-MIB	System total memory
                                      systemFreeMem			.1.3.6.1.4.1.24681.1.2.3		OCTET STRING			read-only		NAS-MIB	System free memory
                                      systemUptime			.1.3.6.1.4.1.24681.1.2.4		TIMETICKS				read-only		NAS-MIB	The amount of time since this host was last initialized.  Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
                                      cpu-Temperature			.1.3.6.1.4.1.24681.1.2.5		OCTET STRING			read-only		NAS-MIB	CPU temperature
                                      systemTemperature		.1.3.6.1.4.1.24681.1.2.6		OCTET STRING			read-only		NAS-MIB	System temperature
                                      ifNumber				.1.3.6.1.4.1.24681.1.2.8		INTEGER					read-only		NAS-MIB	The number of network interfaces (regardless of their current state) present on this system.
                                      systemIfTable			.1.3.6.1.4.1.24681.1.2.9		SEQUENCE OF IfEntryDef	not-accessible	NAS-MIB	A list of interface entries.  The number of entries is given by the value of IfNumber.
                                      ifEntry					.1.3.6.1.4.1.24681.1.2.9.1		IfEntryDef				not-accessible	NAS-MIB	An interface entry containing objects at the subnetwork layer and below for a particular interface.
                                      ifIndex					.1.3.6.1.4.1.24681.1.2.9.1.1	INTEGER					read-only		NAS-MIB	A unique value for each interface.  Its value ranges between 1 and the value of IfNumber.  The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization.
                                      ifDescr					.1.3.6.1.4.1.24681.1.2.9.1.2	OCTET STRING			read-only		NAS-MIB	A textual string containing information about the interface.  This string should include the name of the manufacturer, the product name and the version of the hardware interface.
                                      ifPacketsReceived		.1.3.6.1.4.1.24681.1.2.9.1.3	COUNTER					read-only		NAS-MIB	System packets received.
                                      ifPacketsSent			.1.3.6.1.4.1.24681.1.2.9.1.4	COUNTER					read-only		NAS-MIB	System packets sent.
                                      ifErrorPackets			.1.3.6.1.4.1.24681.1.2.9.1.5	COUNTER					read-only		NAS-MIB	System error packets.
                                      hdNumber				.1.3.6.1.4.1.24681.1.2.10		INTEGER					read-only		NAS-MIB	The number of hard drive slots.
                                      systemHdTable			.1.3.6.1.4.1.24681.1.2.11		SEQUENCE OF HdEntryDef	not-accessible	NAS-MIB	A list of interface entries.  The number of entries is given by the value of HdNumber.
                                      hdEntry					.1.3.6.1.4.1.24681.1.2.11.1		HdEntryDef				not-accessible	NAS-MIB	An interface entry containing objects at the subnetwork layer and below for a particular interface.
                                      hdIndex					.1.3.6.1.4.1.24681.1.2.11.1.1	INTEGER					read-only		NAS-MIB	A unique value for each hard disk.  Its value ranges between 1 and the value of IfNumber.  The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization.
                                      hdDescr					.1.3.6.1.4.1.24681.1.2.11.1.2	OCTET STRING			read-only		NAS-MIB	A textual string containing information about the interface.  This string should include the name of the manufacturer, the product name and the version of the hardware interface.
                                      hdTemperature			.1.3.6.1.4.1.24681.1.2.11.1.3	OCTET STRING			read-only		NAS-MIB	Hard disk temperature.
                                      hdStatus				.1.3.6.1.4.1.24681.1.2.11.1.4	INTEGER					read-only		NAS-MIB	HDD status. 0:not availible, 1:availible.
                                      hdModel					.1.3.6.1.4.1.24681.1.2.11.1.5	OCTET STRING			read-only		NAS-MIB	Hard disk model.
                                      hdCapacity				.1.3.6.1.4.1.24681.1.2.11.1.6	OCTET STRING			read-only		NAS-MIB	Hard disk capacity.
                                      hdSmartInfo				.1.3.6.1.4.1.24681.1.2.11.1.7	OCTET STRING			read-only		NAS-MIB	Hard disk SMART information.
                                      modelName				.1.3.6.1.4.1.24681.1.2.12		OCTET STRING			read-only		NAS-MIB	Model name
                                      hostName				.1.3.6.1.4.1.24681.1.2.13		OCTET STRING			read-only		NAS-MIB	Model name
                                      sysFanNumber			.1.3.6.1.4.1.24681.1.2.14		INTEGER					read-only		NAS-MIB	The number of system fan (regardless of their current state) present on this system.
                                      systemFanTable			.1.3.6.1.4.1.24681.1.2.15		SEQUENCE OF SysFanEntryDef	not-accessible	NAS-MIB	A list of interface entries.  The number of entries is given by the value of SysFanNumber.
                                      sysFanEntry				.1.3.6.1.4.1.24681.1.2.15.1		SysFanEntryDef			not-accessible	NAS-MIB	An system fan entry containing objects at the subnetwork layer and below for a particular interface.
                                      sysFanIndex				.1.3.6.1.4.1.24681.1.2.15.1.1	INTEGER					read-only		NAS-MIB	A unique value for each system fan. Its value ranges between 1 and the value of SysFanNumber.  The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next re- initialization.
                                      sysFanDescr				.1.3.6.1.4.1.24681.1.2.15.1.2	OCTET STRING			read-only		NAS-MIB	A textual string containing information about the interface.  This string should include the name of the manufacturer, the product name and the version of the hardware interface.
                                      sysFanSpeed				.1.3.6.1.4.1.24681.1.2.15.1.3	OCTET STRING			read-only		NAS-MIB	System fan speed.
                                      sysVolumeNumber			.1.3.6.1.4.1.24681.1.2.16		INTEGER					read-only		NAS-MIB	The number of system volumes (regardless of their current state) present on this system.
                                      systemVolumeTable		.1.3.6.1.4.1.24681.1.2.17		SEQUENCE OF SysVolumeEntryDef	not-accessible	NAS-MIB	A list of volume entries.  The number of entries is given by the value of SysVolumeNumber.
                                      sysVolumeEntry			.1.3.6.1.4.1.24681.1.2.17.1		SysVolumeEntryDef		not-accessible	NAS-MIB	An system volume entry
                                      sysVolumeIndex			.1.3.6.1.4.1.24681.1.2.17.1.1	INTEGER					read-only		NAS-MIB	A unique value for each system volume. Its value ranges between 1 and the value of SysVolumeNumber.  The value for each volume must remain constant at least from one re-initialization of the entity's volume system to the next re-initialization.
                                      sysVolumeDescr			.1.3.6.1.4.1.24681.1.2.17.1.2	OCTET STRING			read-only		NAS-MIB	A textual string containing information about the volume.
                                      sysVolumeFS				.1.3.6.1.4.1.24681.1.2.17.1.3	OCTET STRING			read-only		NAS-MIB	System Volume file system.
                                      sysVolumeTotalSize		.1.3.6.1.4.1.24681.1.2.17.1.4	OCTET STRING			read-only		NAS-MIB	System Volume total size.
                                      sysVolumeFreeSize		.1.3.6.1.4.1.24681.1.2.17.1.5	OCTET STRING			read-only		NAS-MIB	System Volume free size.
                                      sysVolumeStatus			.1.3.6.1.4.1.24681.1.2.17.1.6	OCTET STRING			read-only		NAS-MIB	System Volume status.
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Stuti last edited by

                                        Hallo,

                                        ich habe SNMP eben mal auf Windows 10 und Debian aktiviert. Die Uptime lässt sich immer gut auslesen.

                                        Bei allen System gibt es eine C Partition. Die Größe ist in einer OID und müsste mit der Blockgröße multipliziert und dann von Byte in GB umgerechnet werden. Soweit die Theorie…

                                        hrStorageDescr.1; .1.3.6.1.2.1.25.2.3.1.3.1

                                        hrStorageSize.1; .1.3.6.1.2.1.25.2.3.1.5

                                        hrStorageUsed.1; .1.3.6.1.2.1.25.2.3.1.6

                                        Beim Adapter kommt folgende Meldung:

                                        Error session.get: RequestFailedError: NoSuchName: 1.3.6.1.2.1.25.2.3.1.5

                                        Im MIB Browser werden die alle mit Werten angezeigt.

                                        Noch etwas, sobald ich versuche eine Sortierung in der Instanzkonfiguration vorzunehmen schmeißt er alle Werte raus. Die Zeilen bleiben alle da, aber sind leer.

                                        Gibt es auch irgendwo eine Konfigurationsdatei, die ich bearbeiten könnte? Oder wo wird die Konfiguration im allgemeinen abgespeichert?

                                        Mit nen bisschen Feintunning wird das ein super Adapter, der die wichtigsten Werte schön grafisch anzeigen kann.

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

                                          @marcolotti: vllt im github das Wiki aktivieren in deinem Adapter repo und dort direkt die Listen einstellen ?! Du kannst glaube ich erlauben das Leute Wiki frei editieren.

                                          Oder Starte ne Google docs Tabelle mit freiem Zugriff per Link?!

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            skraw.iobroker last edited by

                                            Also das ist jetzt snmp Client Seite.

                                            Gibt es denn einen Adapter mit dem man "von aussen" irgendwelche Werte von Objekten per SNMP abfragen kann - also SNMP Server?

                                            Das waere beispielsweise fuer Temperatur-Messkurven interessant …

                                            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

                                            429
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            snmp
                                            85
                                            365
                                            66369
                                            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