You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-08-17 11:29:24

muench
Member
Registered: 2023-07-10
Posts: 8

Remote Inventory Error "Winrm: Failed to request Win32_ComputerSystem"

Hi all,
I'm running GLPI 10.0.9 on Ubuntu 22.04.3 LTS and installed GLPI Inventory Plugin 1.2.3 from marketplace.
I also installed GLPI Agent 1.5-1 on the same host.
Now I'm trying remote inventory of a Windows 7 32-bit host but

sudo glpi-remote add winrm://username:password@remoteHostIP --target server0

fails with

[error] Winrm: Failed to request Win32_ComputerSystem: Der WS-Verwaltungsdienst kann die Anforderung nicht verarbeiten. Der Ressourcen-URI fehlt oder besitzt ein falsches Format. Informationen zum Erstellen eines Ressourcen-URIs finden Sie in der Dokumentation. Informationen erhalten Sie auch mit dem folgenden Befehl: "winrm help uris".
'winrm://username:password@remoteHostIP' check failure: Can't retrieve remote hostname

Translation:
The WS-Management service cannot process the request. The resource URI is missing or it has an incorrect format. Check the documentation or use the following command for information on how to construct a resource URI: "winrm help uris".

Anyone knows what's wrong? Is 32-bit the problem?

Thank you!

Benjamin

Last edited by muench (2023-08-17 11:44:12)

Offline

#2 2023-08-17 12:47:21

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Remote Inventory Error "Winrm: Failed to request Win32_ComputerSystem"

Is your GLPI server able to resolve the hostname of the Windows computer?
If not, it seems like a DNS issue.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-08-17 13:36:46

muench
Member
Registered: 2023-07-10
Posts: 8

Re: Remote Inventory Error "Winrm: Failed to request Win32_ComputerSystem"

Thank you but ping hostname results in an answer, I dont think, it's a DNS issue...

Last edited by muench (2023-08-17 13:37:02)

Offline

Board footer

Powered by FluxBB