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-09-27 08:38:08

Mogaba
Member
Registered: 2023-03-02
Posts: 1

Export glpi-agent remote inventory to a JSON file

Hello,

I'm trying to export the result of the remote inventory to a JSON file:

glpi-agent --remote=ssh://* --logger=stderr --tasks=remoteinventory --local=/root/inventory --json

The output:

[info] target local0: local /root/inventory
[info] running task RemoteInventory
[info] target server0: server http://*
[info] sending contact request to server0
[info] sending prolog request to server0

But there's nothing in /root/inventory directory. Instead, the result is sent to the GLPI server which I didn't ask for.

glpi-agent version is 1.4.

Offline

Board footer

Powered by FluxBB