Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. [Neuer Adapter] Proxmox VM

    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

    [Neuer Adapter] Proxmox VM

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active @Guest last edited by

      @dp20eic sagte in [Neuer Adapter] Proxmox VM:

      Edit:
      Hier ist die Dokumentation der API zu Proxmox, Proxmox-API, ob da auch das gesuchte mit dabei ist, kann ich nicht sagen, habe nicht weiter nachgeschaut.

      Es gibt wohl auch eine Node mit der man diese Proxmox API aufrufen kann. Aber ich kenn mich da nicht aus, wie man da diese Liste rausbekäme<

      https://flows.nodered.org/node/node-red-contrib-proxmox

      1 Reply Last reply Reply Quote 0
      • D
        dos1973 @mickym last edited by

        @mickym sagte in [Neuer Adapter] Proxmox VM:

        sudo -su iobroker

        mein nuc host hat leider nur den root user ...

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @dos1973 last edited by mickym

          @dos1973 Na wie gesagt es gibt auch eine eigene Node. Du kannst ja mal schauen, ob Du wenn alles unter root läuft mit der Exec Node die Ausgabe bekommst, die Du auch auf der Kommandozeile bekommst
          .
          d94e6707-32e9-4f85-912c-3a63370e028e-image.png

          [
              {
                  "id": "ab8ac84db231266b",
                  "type": "inject",
                  "z": "7e6af0015415146d",
                  "name": "",
                  "props": [
                      {
                          "p": "payload"
                      }
                  ],
                  "repeat": "",
                  "crontab": "",
                  "once": false,
                  "onceDelay": 0.1,
                  "topic": "",
                  "payload": "true",
                  "payloadType": "bool",
                  "x": 370,
                  "y": 2460,
                  "wires": [
                      [
                          "0721372d13f7a5d2"
                      ]
                  ]
              },
              {
                  "id": "0721372d13f7a5d2",
                  "type": "exec",
                  "z": "7e6af0015415146d",
                  "command": "pvesm list ds218-pve --vmid 100",
                  "addpay": "",
                  "append": "",
                  "useSpawn": "false",
                  "timer": "",
                  "winHide": false,
                  "oldrc": false,
                  "name": "",
                  "x": 630,
                  "y": 2460,
                  "wires": [
                      [
                          "175a1761b5192e86"
                      ],
                      [],
                      []
                  ]
              },
              {
                  "id": "175a1761b5192e86",
                  "type": "debug",
                  "z": "7e6af0015415146d",
                  "name": "Konsolenausgabe",
                  "active": true,
                  "tosidebar": true,
                  "console": false,
                  "tostatus": false,
                  "complete": "payload",
                  "targetType": "msg",
                  "statusVal": "",
                  "statusType": "auto",
                  "x": 970,
                  "y": 2440,
                  "wires": []
              }
          ]
          

          Oder sonst halt mit der Proxmox-API Node - aber wie man die API bedient weiss ich nicht.

          D ? 2 Replies Last reply Reply Quote 0
          • D
            dos1973 @mickym last edited by dos1973

            @mickym
            ich muss doch irgendwo mein nuc angeben.
            iobroker Ergo node red laufen ja in einer VM auf dem NUC.

            Bildschirmfoto 2023-04-26 um 20.09.15.png

            um den Thread nicht mit dem Thema zu überladen mache ich einen neuen auf.

            EDIT: hier gehts weiter damit.
            https://forum.iobroker.net/topic/64949/proxmox-backup-info-mit-node-red-auslesen

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @mickym last edited by A Former User

              @mickym sagte in [Neuer Adapter] Proxmox VM:

              @dos1973 Na wie gesagt es gibt auch eine eigene Node. Du kannst ja mal schauen, ob Du wenn alles unter root läuft mit der Exec Node die Ausgabe bekommst, die Du auch auf der Kommandozeile bekommst
              .
              d94e6707-32e9-4f85-912c-3a63370e028e-image.png

              [
                  {
                      "id": "ab8ac84db231266b",
                      "type": "inject",
                      "z": "7e6af0015415146d",
                      "name": "",
                      "props": [
                          {
                              "p": "payload"
                          }
                      ],
                      "repeat": "",
                      "crontab": "",
                      "once": false,
                      "onceDelay": 0.1,
                      "topic": "",
                      "payload": "true",
                      "payloadType": "bool",
                      "x": 370,
                      "y": 2460,
                      "wires": [
                          [
                              "0721372d13f7a5d2"
                          ]
                      ]
                  },
                  {
                      "id": "0721372d13f7a5d2",
                      "type": "exec",
                      "z": "7e6af0015415146d",
                      "command": "pvesm list ds218-pve --vmid 100",
                      "addpay": "",
                      "append": "",
                      "useSpawn": "false",
                      "timer": "",
                      "winHide": false,
                      "oldrc": false,
                      "name": "",
                      "x": 630,
                      "y": 2460,
                      "wires": [
                          [
                              "175a1761b5192e86"
                          ],
                          [],
                          []
                      ]
                  },
                  {
                      "id": "175a1761b5192e86",
                      "type": "debug",
                      "z": "7e6af0015415146d",
                      "name": "Konsolenausgabe",
                      "active": true,
                      "tosidebar": true,
                      "console": false,
                      "tostatus": false,
                      "complete": "payload",
                      "targetType": "msg",
                      "statusVal": "",
                      "statusType": "auto",
                      "x": 970,
                      "y": 2440,
                      "wires": []
                  }
              ]
              

              Oder sonst halt mit der Proxmox-API Node - aber wie man die API bedient weiss ich nicht.

              Moin,

              ich bin auch nicht, aus dem Stand heraus, fähig eine Lösung anzubieten. Ich habe nur mal gerade geschaut, was, wie geht, wenn ich von meinem Linux PC, Proxmox per ssh abfrage, das geht, auch wenn ich dafür lieber noch einen User auf Proxmox einrichten würde, der nur den Befehl absetzen darf.

              ░▒▓ ~  ssh -p 22 root@proxmox.fritz.box pvesm list pbs --vmid 100
              root@proxmox.fritz.box's password: 
              X11 forwarding request failed on channel 0
              Volid                                  Format  Type            Size VMID
              pbs:backup/ct/100/2023-04-18T08:00:05Z pbs-ct  backup    5492406020 100
              pbs:backup/ct/100/2023-04-19T08:00:03Z pbs-ct  backup    5566951322 100
              pbs:backup/ct/100/2023-04-20T08:00:06Z pbs-ct  backup    5604227250 100
              pbs:backup/ct/100/2023-04-21T08:00:00Z pbs-ct  backup    5630694265 100
              pbs:backup/ct/100/2023-04-24T08:00:03Z pbs-ct  backup    5601609321 100
              pbs:backup/ct/100/2023-04-25T08:00:01Z pbs-ct  backup    5630172061 100
              pbs:backup/ct/100/2023-04-26T08:00:04Z pbs-ct  backup    5618671145 100
              

              VG
              Bernd

              1 Reply Last reply Reply Quote 0
              • U
                umichel last edited by

                Ich habe mir den Adpater gestern mal installiert.
                Aktuell nutze ich Proxmox 8.
                Mit den Einstellungen im Adpater bekomme ich aber nur ein paar nutzlose Parameter als Datenpunkte ankgezeigt.
                Ist der Adpater dafür zu alt, brauche ich irgendein Zertifikat oder mache ich was falsch?

                Feuersturm DJMarc75 2 Replies Last reply Reply Quote 0
                • Feuersturm
                  Feuersturm @umichel last edited by

                  @umichel poste doch mal bitte einen Screenshot weiche Datenpunkte bei dir angelegt werden.

                  1 Reply Last reply Reply Quote 0
                  • DJMarc75
                    DJMarc75 @umichel last edited by

                    @umichel sagte in [Neuer Adapter] Proxmox VM:

                    Mit den Einstellungen im Adpater bekomme ich aber nur ein paar nutzlose Parameter als Datenpunkte ankgezeigt.

                    Aha, mit den Einstellungen also. Die wären ?

                    1 Reply Last reply Reply Quote 0
                    • U
                      umichel last edited by

                      Na ja ... viele Einstellungen ausser dier IP und dem User gibt es ja nicht.
                      Nach Deinstallation und erneuter Installation sind jetzt aber alle Datenpunkte da.
                      Warum auch immer.
                      Prima Adapter.
                      Danke dafür.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Alero @umichel last edited by Alero

                        hi,
                        habe mir den proxmox adapter installiert leider bekomme ich keine Verbindung:

                        
                        proxmox.0
                        2023-10-13 15:31:07.983	error	401: wrong User data, could not log in, please try again with correct user and pw
                        
                        proxmox.0
                        2023-10-13 15:31:07.983	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        
                        proxmox.0
                        2023-10-13 15:31:07.982	error	Unable to authenticate with Proxmox host. Please check your credentials
                        
                        proxmox.0
                        2023-10-13 15:31:04.888	debug	Use Proxmox API: https://192.168.42.90:8006/api2/json
                        

                        334674f2-5975-4423-b459-326e4b23a1d1-image.png

                        IP, Port, User und PW sind richtig. Damit kann ich mich auf dem Proxmox Server anmelden. Muss ich noch was im Proxmox freigeben?

                        DJMarc75 ? 2 Replies Last reply Reply Quote 0
                        • DJMarc75
                          DJMarc75 @Alero last edited by

                          @alero Welche Version ?

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Alero @DJMarc75 last edited by

                            @djmarc75
                            20735aeb-7599-4616-9646-b9b6f49fd6c1-image.png

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Alero @Alero last edited by Alero

                              hi,

                              laut log ruft er https auf. mein Proxmox läuft noch über http.
                              ist das vielleicht der Grund?
                              Auszug Protokoll:

                              
                              proxmox.0
                              2023-10-13 15:38:44.163	error	401: wrong User data, could not log in, please try again with correct user and pw
                              
                              proxmox.0
                              2023-10-13 15:38:44.163	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                              
                              proxmox.0
                              2023-10-13 15:38:44.162	error	Unable to authenticate with Proxmox host. Please check your credentials
                              
                              proxmox.0
                              2023-10-13 15:38:41.079	debug	Use Proxmox API: https://192.168.42.90:8006/api2/json
                              
                              proxmox.0
                              2023-10-13 15:38:41.049	info	starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.proxmox, node: v18.18.0, js-controller: 5.0.12
                              
                              proxmox.0
                              2023-10-13 15:38:40.799	debug	States connected to redis: 127.0.0.1:9000
                              
                              proxmox.0
                              2023-10-13 15:38:40.716	debug	States create User PubSub Client
                              
                              proxmox.0
                              2023-10-13 15:38:40.715	debug	States create System PubSub Client
                              
                              proxmox.0
                              2023-10-13 15:38:40.650	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                              
                              proxmox.0
                              2023-10-13 15:38:40.618	debug	Objects connected to redis: 127.0.0.1:9001
                              
                              proxmox.0
                              2023-10-13 15:38:40.613	debug	Objects client initialize lua scripts
                              
                              proxmox.0
                              2023-10-13 15:38:40.550	debug	Objects create User PubSub Client
                              
                              proxmox.0
                              2023-10-13 15:38:40.550	debug	Objects create System PubSub Client
                              
                              proxmox.0
                              2023-10-13 15:38:40.549	debug	Objects client ready ... initialize now
                              
                              proxmox.0
                              2023-10-13 15:38:40.522	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                              
                              Meister Mopper 1 Reply Last reply Reply Quote 0
                              • Meister Mopper
                                Meister Mopper @Alero last edited by

                                @alero sagte in [Neuer Adapter] Proxmox VM:

                                mein Proxmox läuft noch über http.

                                Wie rufst du denn Proxmox im Browser auf?

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Alero @Meister Mopper last edited by

                                  @meister-mopper
                                  http://192.168.42.90:8006/api2/json

                                  Meister Mopper 1 Reply Last reply Reply Quote 0
                                  • Meister Mopper
                                    Meister Mopper @Alero last edited by

                                    @alero

                                    Dann ist es aus meiner Sicht eine vergeigte Installation. Standard ist immer https und http wird von Proxmox nicht wirklich unterstützt.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      Alero @Meister Mopper last edited by

                                      @meister-mopper

                                      4928e4bc-019f-4d7a-8d2f-1eb05d8a31d6-image.png
                                      heisst für mich das er versucht über https aufzurufen . es aber nicht geht und dann http nutzt.

                                      Meister Mopper B 2 Replies Last reply Reply Quote 0
                                      • Meister Mopper
                                        Meister Mopper @Alero last edited by

                                        @alero

                                        Es ist keine sichere Verbindung, weil selfsigned Zertifikate genutzt werden. Das muss man im Browser einmal erlauben, dann ist es "trusted".

                                        A 1 Reply Last reply Reply Quote 0
                                        • B
                                          bommel_030 @Alero last edited by

                                          @alero
                                          Hast du mal mit PAM statt PVE versucht?

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            Alero @Meister Mopper last edited by

                                            @meister-mopper
                                            wo muss ich das erlauben?

                                            Meister Mopper 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            897
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            proxmox
                                            75
                                            486
                                            90203
                                            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