You are not logged in.
Pages: 1
Hi everyone,
GLPI agent is working great now on our Window devices.
I've just installed and configured it on a Macbook. How can we force the inventory with the agent?
Jo
Offline
Hi jvuz,
the most common way is to access `http://localhost:62354/` URL and clic on "runnow". If you don't have it you may have to enable httpd interface and maybe trust localhost. For that you may need to tune `no-httpd` & `httpd-trust` in configuration, see online documentation.
Also, as root user, you can search for the glpi-agent service pid and send a USR1 signal to it with the kill command. I don't know if another command (pkill) is available on macos, but you may also try to run as root:
pkill -USR1 glpi-agent
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Dear gbougard,
thank you for your info. As the url doesn't give a result, we'll have to look further and checking the httpd interface.
Another question, in de config file we've entered the url of the server, with the same address as we're using for the Windows client. I suppose this is the same address?
You're telling something about killing a process? But I suppose it will kill the process? is there a possibility to start the process instead of killing it?
Jo
Offline
Hi jvuz,
sorry missed your questions.
Using the "kill" command, indeed, doesn't mean you will kill the process. By default, meaning not using any option, it will kill the process. But indeed, the "kill" command is made to send a system signal to a process. The default signal is "-9" or "-TERM" to kill the process (this is why the command was named "kill"... as this was the first need for that command). Here a was using the "-USR1" option which ask "kill" command to send "USR1" signal to the agent. The agent when receiving that "USR1" signal will understand it has to run tasks now and it won't be killed.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Pages: 1