FusionInventory::Agent3pm
Fusion inventory agent
Overview
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.
getToken()
Get the current authentication token.
resetToken()
Set the current authentication token to a random value.
getStatus()
Get the current agent status.
getAvailableTasks()
Get all available tasks found on the system, as a list of module / version pairs:
%tasks = (
'FusionInventory::Agent::Task::Foo' => x,
'FusionInventory::Agent::Task::Bar' => y, );