fusioninventory-remoteinventory - A tool to pull inventory from an agent
fusioninventory-remoteinventory [options] <host1> [<host2> ...]
Options:
-h --help this menu
-d --directory load every .ocs files from a directory
-t --timeout requests timeout and even inventory get timeout
-b --baseurl remote base url if not /inventory
-p --port remote port (62354 by default)
-T --token token as shared secret
-i --id id for request to identify requests in agent log
-s --ssl connect using SSL
--no-ssl-check do not check agent SSL certificate
--ca-cert-file CA certificates file
-C --no-compression
ask to not compress sent XML inventories
-v --verbose verbose mode
--debug debug mode
-u --useragent set used HTTP User-Agent for requests
Examples:
fusioninventory-remoteinventory -T strong-shared-secret 192.168.43.236
fusioninventory-remoteinventory -v -T strong-shared-secret 192.168.43.237 | \
fusioninventory-injector -url https://login:pw@example/plugins/fusioninventory/
fusioninventory-remoteinventory -T strong-shared-secret -d /tmp 192.168.43.236 192.168.43.237
This tool can be used to securely request an inventory from remote agents not
able to contact a server.