You are not logged in.
Sorry if this is a simple fix somewhere, but I am trying to get the GLPI Inventory Agent to run and send details to the Server. I have installed the Agent on a machine using mostly default options. The path to the GLPI Server is https://[servername]/marketplace/glpiinventory as I managed to get the Marketplace version of the plugin to install.
The Agent does what it should do, in that it scans the machine and can output the information into an xml file, which I can then successfully import onto the GLPI Server. So far, so good. However, I have dozens of PC's across the organisation and I really don't want to have to manually import the information each time.
What the Agent does NOT do is send the information to GLPI automatically. When I look at the logfile I see the following:-
[Wed Dec 20 12:07:16 2023][info] GLPI Agent memory usage: WSS=3309568 PFU=136134656
[Wed Dec 20 12:07:43 2023][info] target server0: server https://[SERVERNAME]/marketplace/glpiinventory/
[Wed Dec 20 12:07:43 2023][info] sending prolog request to server0
[Wed Dec 20 12:07:46 2023][error] [http client] internal response: 500 Can't connect to [SERVERNAME]:443 (No connection could be made because the target machine actively refused it.), IO::Socket::IP configuration failed
[Wed Dec 20 12:07:46 2023][error] No supported answer from server at https://[SERVERNAME]/marketplace/glpiinventory/
[Wed Dec 20 12:07:46 2023][info] target server0: next run: Wed Dec 20 13:07:46 2023 - https://[SERVERNAME]/marketplace/glpiinventory/
Is there something I need to do on the Server or within GLPI itself, so that it does not "actively refuse" these connections? I am on a Windows Server with Apache and PHP provided through WAMPServer.
Thank you.
Offline
Have you tried turning both the client and server firewall off for troubleshooting?
Offline
Sorry - yes. I should have said that I have switched off the Firewall on both the PC and the Server. I get the same error.
Offline
In addition, the Agent on the GLPI Server comes back with the error: Can't connect to [SERVERNAME]:443 (Bad address)
I don't know if that helps?
Sorry!
Offline
Hi.
Sorry - we broke up for Christmas and New Year and I have only just seen this response. Notwithstanding, I seem to have managed a resolution that works. Or seems to!
I have set the GLPI Agent installation to read http://[x.x.x.x]/glpi/marketplace/glpiinventory/ and ensured that Enable Inventory is enabled in GLPI - Administration - Inventory
This seems to be working. Now all I need to do is figure out how to get this installed using a GPO!
Thank you for your assistance.
Regards.
Offline