The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

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, );