NAME

armadito-agent - command line interface script used for Armadito Agent.

SYNOPSIS

armadito-agent --server <server> --task <task>

  Options:
    --help                 this menu

  Target definition options:
    --server server        Armadito Plugin for GLPI server URL

  Task selection options:
    --task task            Task to be executed
	--list-tasks           List supported tasks

  Antivirus selection options:
    --antivirus antivirus  Antivirus to be managed
	--list-avs             List supported antiviruses

  Configuration options:
    --config=BACKEND                   configuration backend
    --conf-file=FILE                   configuration file
    --conf-reload-interval=<SECONDS>   number of seconds between two
                                         configuration reloadings

EXAMPLES

% armadito-agent --task "Enrollment"
% armadito-agent -s http://armadito-glpi --task "State"
% armadito-agent --server http://armadito-glpi --task "Getjobs"
% armadito-agent --task "Enrollment" --conf-file /etc/myarmaditoconf.cfg

DESCRIPTION

armadito-agent is the command line interface for Armadito Agent.

OPTIONS

Some options are available in a short form and a long form. For example, the two lines below are all equivalent:

% armadito-agent -s localhost
% armadito-agent --server localhost

Target definition options

-s, --server=URI

Send the results of tasks execution to given server.

In general, Armadito plugin URLs are like the following: http://servername/glpi/plugins/armadito/index.php

Task selection options

--list-tasks

List all available tasks and exit

--task=TASK

Run given task immediately.

See option --list-tasks for the list of available tasks.

Antivirus selection options

--list-avs

List all available antiviruses and exit

--antivirus=ANTIVIRUS

Mange the given Antivirus

See option --list-avs for the list of available antiviruses.

Configuration options

--config=BACKEND

Configuration backend to use.

The available backends are:

  • file: read configuration from a file (default anywhere else as Windows).

  • registry: read configuration from the registry (default on Windows).

  • none: don't read any configuration.

--conf-file=FILE

Use FILE as configuration file (implies file configuration backend).

--conf-reload-interval=SECONDS

SECONDS is the number of seconds between two configuration reloadings. Default value is 0, which means that configuration is never reloaded. Minimum value is 60. If given value is less than this minimum, it is set to this minimum. If given value is less than 0, it is set to 0.