FUSIONINVENTORY-AGENT(1p) | User Contributed Perl Documentation | FUSIONINVENTORY-AGENT(1p) |
fusioninventory-agent - FusionInventory agent For Linux/UNIX, Windows and MacOSX
fusioninventory-agent [options] [--server server|--local path]
Target definition options: -s --server=URI send tasks result to a server -l --local=PATH write tasks results locally Target scheduling options: --delaytime=LIMIT maximum delay before first target, in seconds (3600). It also defines the maximum delay on network error. Delay on network error starts from 60, is doubled at each new failed attempt until reaching max --lazy do not contact the target before next scheduled time --set-forcerun set persistent state 'forcerun' option so a run will be started immediately during a start or init Task selection options: --list-tasks list available tasks and exit --no-task=TASK[,TASK]... do not run given task --tasks=TASK1[,TASK]...[,...] run given tasks in given order Inventory task specific options: --no-category=CATEGORY do not list given category items --scan-homedirs scan user home directories (false) --scan-profiles scan user profiles (false) --html save the inventory as HTML (false) -f --force always send data to server (false) --backend-collect-timeout=TIME timeout for inventory modules execution (30) --additional-content=FILE additional inventory content file Package deployment task specific options: --no-p2p do not use peer to peer to download files (false) Network options: -P --proxy=PROXY proxy address -u --user=USER user name for server authentication -p --password=PASSWORD password for server authentication --ca-cert-dir=DIRECTORY CA certificates directory --ca-cert-file=FILE CA certificates file --no-ssl-check do not check server SSL certificate (false) -C --no-compression do not compress communication with server (false) --timeout=TIME connection timeout, in seconds (180) Web interface options: --no-httpd disable embedded web server (false) --httpd-ip=IP network interface to listen to (all) --httpd-port=PORT network port to listen to (62354) --httpd-trust=IP trust requests without authentication token (false) --listen enable listener target if no local or server target is defined Logging options: --logger=BACKEND logger backend (stderr) --logfile=FILE log file --logfile-maxsize=SIZE maximum size of the log file in MB (0) --logfacility=FACILITY syslog facility (LOG_USER) --color use color in the console (false) Configuration options: --config=BACKEND configuration backend --conf-file=FILE configuration file --conf-reload-interval=<SECONDS> number of seconds between two configuration reloadings Execution mode options: -w --wait=LIMIT maximum delay before execution, in seconds -d --daemon run the agent as a daemon (false) --no-fork don't fork in background (false) -t --tag=TAG add given tag to inventory results --debug debug mode (false) --setup print the agent setup directories and exit --version print the version and exit --no-win32-ole-workaround [win32 only] disable win32 work-around used to better handle Win32::OLE apis. !!! Use it at your own risk as you may experiment perl crash under win32 !!!
The fusioninventory-agent agent is a generic multi-platform agent. It can perform a large array of management tasks, such as local inventory, software deployment or network discovery. It can be used either standalone, or in combination with a compatible server (OCS, GLPI, OTRS) acting as a centralized control point.
Most of the options are available in a short form and a long form. For example, the two lines below are all equivalent:
% fusioninventory-agent -s localhost % fusioninventory-agent --server localhost
If URI doesn't start with http:// or https://, the agent assume the parameter is a hostname and rewrite it as:
% --server=http://example/plugins/fusioninventory
In general, OCS Inventory server URL have this format:
http://example/ocsinventory
and FusionInventory for GLPI this one:
http://example/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
Multiple values can be specified, using comma as a separator.
Exact behaviour according to given path:
Multiple values can be specified, using comma as a separator.
This option is only available when the agent is not run as a server.
Multiple values can be specified, using comma as a separator. See option --list-tasks for the list of available tasks.
Multiple tasks can be specified, using comma as a separator. A task can be specified several times. if '...' is given as last element, all other available tasks are executed.
See option --list-tasks for the list of available tasks.
Examples :
* --tasks=inventory,deploy,inventory
First task executed is 'inventory', second task is 'deploy', third and
last
task is 'inventory'.
* --tasks=inventory,deploy,...
First executed task is 'inventory', second task is 'deploy' and then all
other available tasks are executed.
Multiple values can be specified, using comma as a separator. The available categories are:
This is only used for local inventories.
This file should be an XML file, using same syntax as the one produced by the agent.
By default, the agent uses HTTP_PROXY environment variable.
For example: "192.168.0.0/24", "192.168.168.0.5" or an IP range like "20.34.101.207 - 201.3.9.99". Hostnames are also accepted. See Net::IP documentation to get more example.
Multiple values can be specified, using comma as a separator.
Multiple values can be specified, using comma as a separator. The available backends are:
Multiple values can be specified, using comma as a separator.
This options is ignored on Windows.
The available backends are:
This is only useful when running as a daemon.
This is only useful when running as a daemon and still not managed with a system service manager like systemd.
Level 3 turns on the debug mode of some external libraries like Net::SSLeay. These messages will only be be printed on STDERR.
2022-12-02 | perl v5.36.0 |