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