Closed thbar closed 4 weeks ago
I've been following the instructions over there for autonomous mode:
https://fusioninventory.org/documentation/agent/usage#autonomous-mode
The deferred upload example appears to be working:
$ sudo fusioninventory-inventory > inventory.xml $ sudo fusioninventory-injector --verbose --file inventory.xml --url https://glpi.REDACTED.fr/plugins/fusioninventory/ Loading inventory.xml...OK
On the other hand, the immediate upload example gives a different output:
$ sudo fusioninventory-inventory | curl --data @- https://glpi.REDACTED.fr/plugins/fusioninventory/
This seems to return a HTML containing GLPI - Accès refusé.
GLPI - Accès refusé
I will write a wrapper script to do the two steps that appear to work, but it would be great to have this work without a temporary file.
Is there a way to diagnose/understand what's happening here? Thanks!
Hi, it's because the protocol is not standard. The next version will be the version 3.0 and is fully rewritten and protocol changed to be standard.
I've been following the instructions over there for autonomous mode:
https://fusioninventory.org/documentation/agent/usage#autonomous-mode
The deferred upload example appears to be working:
On the other hand, the immediate upload example gives a different output:
This seems to return a HTML containing
GLPI - Accès refusé
.I will write a wrapper script to do the two steps that appear to work, but it would be great to have this work without a temporary file.
Is there a way to diagnose/understand what's happening here? Thanks!