FusionInventory::Agent - FusionInventory agent
This is the agent object.
The constructor. The following parameters are allowed, as keys of the %params hash:
the read-only data directory.
the read-write data directory.
the options to use.
Initialize the agent.
Run the agent.
Terminate the agent.
Get the current agent status.
Set new agent status, also updates process name on unix platforms.
Get all targets.
Get all available tasks found on the system, as a list of module / version pairs:
%tasks = ( 'Foo' => x, 'Bar' => y, );
Set "forcerun" option to 1 (by default) in persistent state storage. This option is only read during start, init or reinit. If set to true, the next run is planned to be started as soon as possible.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
See LICENSE file for details.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.