NAME
FusionInventory::Agent - FusionInventory agent
DESCRIPTION
This is the agent object.
METHODS
new(%params)
The constructor. The following parameters are allowed, as keys of the %params hash:
- datadir
-
the read-only data directory.
- vardir
-
the read-write data directory.
- options
-
the options to use.
init()
Initialize the agent.
run()
Run the agent.
terminate()
Terminate the agent.
getStatus()
Get the current agent status.
setStatus()
Set new agent status, also updates process name on unix platforms.
getTargets()
Get all targets.
getAvailableTasks()
Get all available tasks found on the system, as a list of module / version pairs:
%tasks = ( 'Foo' => x, 'Bar' => y, );
LICENSE
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
See LICENSE file for details.