NAME

FusionInventory::Agent - Fusion Inventory agent

DESCRIPTION

This is the agent object.

METHODS

new(%params)

The constructor. The following parameters are allowed, as keys of the %params hash:

confdir

the configuration directory.

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.

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 software is licensed under the terms of GPLv2+, see LICENSE file for details.