...

Fusioninventory agent что это за программа и нужна ли она

fusioninventory-agent¶

The fusioninventory-agent agent is a generic multi-platform agent. It can perform a large array of management tasks, such as local inventory, software deployment or network discovery. It can be used either standalone, or in combination with a compatible server (OCS, GLPI, OTRS) acting as a centralized control point.

Options¶

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

% fusioninventory-agent -s localhost % fusioninventory-agent --server localhost

Target definition options¶

-s, —server=URI

Send the results of tasks execution to given server.

If URI doesn’t start with http:// or https://, the agent assume the parameter is a hostname and rewrite it as:

% --server=http://servername/ocsinventory

In general, OCS Inventory server URL have this format:

http://servername/ocsinventory

and FusionInventory for GLPI this one:

http://servername/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php

Multiple values can be specified, using comma as a separator.

-l, —local=PATH

Write the results of tasks execution locally.

Exact behaviour according to given path:

  • if PATH is a directory, a file will be created therein
  • if PATH is a file, it will be used directly
  • if PATH is ‘-‘, STDOUT will be used

Multiple values can be specified, using comma as a separator.

Target scheduling options¶

—delaytime=LIMIT

Set an initial delay before the first target, whose value is computed randomly between LIMIT / 2 and LIMIT seconds. This setting is ignored for server targets after the initial contact, in favor of server-specified parameter (PROLOG_FREQ).

—lazy

Do not contact the target before next scheduled time.

This option is only available when the agent is not run as a server.

Task selection options¶

—list-tasks

List all available tasks, tasks planned for execution and exit

—no-task=TASK

Do not run given task.

Multiple values can be specified, using comma as a separator. See option —list-tasks for the list of available tasks.

—tasks=TASK

Run given tasks in given order.

Multiple tasks can be specified, using comma as a separator. A task can be specified several times. if ‘. ‘ is given as last element, all other available tasks are executed.

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

  • —tasks=inventory,deploy,inventory First task executed is ‘inventory’, second task is ‘deploy’, third and last task is ‘inventory’.
  • —tasks=inventory,deploy. First executed task is ‘inventory’, second task is ‘deploy’ and then all other available tasks are executed.

Inventory task specific options¶

—no-category=CATEGORY

Do not list given category items in inventory.

Multiple values can be specified, using comma as a separator. The available categories are:

  • battery
  • controller
  • cpu
  • drive
  • environment
  • input
  • license
  • local_group
  • local_user
  • lvm
  • memory
  • modem
  • monitor
  • network
  • printer
  • process
  • slot
  • software
  • sound
  • storage
  • usb
  • user
  • video
  • virtualmachine

—scan-homedirs

Allow the agent to scan home directories for virtual machines.

—scan-profiles

Allow the agent to scan user profiles for software.

—html

Save the inventory as HTML.

This is only used for local inventories.

-f, —force

Send an inventory to the server, even if this last one doesn’t ask for it.

—backend-collect-timeout=TIME

Timeout for inventory modules execution.

—additional-content=FILE

Additional inventory content file.

This file should be an XML file, using same syntax as the one produced by the agent.

Package deployment task specific options¶

—no-p2p

Do not use peer to peer to download files.

Server target specific options¶

-P, —proxy=PROXY

Use PROXY as HTTP proxy.

By default, the agent uses HTTP_PROXY environment variable.

-u USER, —user=USER

Use USER for server authentication.

-p, —password=PASSWORD

Use PASSWORD for server authentication.

—ca-cert-dir=DIRECTORY

CA certificates directory.

—ca-cert-file=FILE

CA certificates file.

—no-ssl-check

Do not check server SSL certificate.

—timeout=TIME

Timeout for server connections.

Web interface options¶

—no-httpd

Disable the embedded web server.

—httpd-ip=IP

The network interface to use for the embedded web server (all).

—httpd-port=PORT

The network port to use for the embedded web server (62354).

—httpd-trust=IP

Trust requests from given addresses without authentication token (false).

For example: «192.168.0.0/24», «192.168.168.0.5» or an IP range like «20.34.101.207 — 201.3.9.99». Hostnames are also accepted. See Net::IP documentation to get more example.

Multiple values can be specified, using comma as a separator.

Logging options¶

—logger=BACKEND

Logger backend to use.

Multiple values can be specified, using comma as a separator. The available backends are:

  • stderr: log messages directly in the console.
  • file: log messages in a file.
  • syslog: log messages through the local syslog server.

Multiple values can be specified, using comma as a separator.

—logfile=FILE

Log message in FILE (implies File logger backend).

—logfile-maxsize=SIZE

Max logfile size in MB, default is unlimited. When the max size is reached, the file is truncated. This is only useful if there is no log rotation mechanism on the system.

—logfacility=FACILITY

Syslog facility to use (default LOG_USER).

—color

Display color on the terminal, when the Stderr backend is used.

This options is ignored on Windows.

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.

Execution mode options¶

-w LIMIT, —wait=LIMIT

Wait a random delay whose value is computed randomly between 0 and LIMIT seconds, before execution. This is useful when execution is triggered from some kind of system scheduling on multiple clients, to spread the server load.

-d, —daemon

Run the agent as a daemon.

—no-fork

Don’t fork in background.

This is only useful when running as a daemon.

—pidfile=FILE

Store pid in FILE.

This is only useful when running as a daemon.

—tag=TAG

Add the given tag to every inventory results.

—debug

Turn the debug mode on. You can use the parameter up to 3 times in a row to increase the verbosity (e.g: —debug —debug).

Level 3 turns on the debug mode of some external libraries like Net::SSLeay. These messages will only be be printed on STDERR.

—setup

Print the agent setup directories and exit.

—version

Print the version and exit.

Last source update: Tue Dec 12 19:11:54 2017

FusionInventory Agent 2.6

The FusionInventory Agent maintainers are proud to announce the 2.6 release.

You can download sources or dedicated installer from the fusioninventory-agent github releases:

Download FusionInventory Agent v2.6 from Github Releases

Since last 2.5.2 release, many bug fixes and enhancements have been accumulated, such as:

  • when reloading, options set on commandline are kept
  • completly empty defines (nothing after the equal sign) in config files is now supported and this fix an issue where windows portable version was trying to write to a log file by default

For the Inventory task:

  • some fixes has been included for unix systems and win32:
    • we fixed Batteries support and added an information to report capacity usage
    • we added some new Acer monitor serial support
    • on linux, the support for Snap packages in softwares has been fixed when a package with a long summary is installed
    • on debian linux, we fixed the support of packages with no size set
    • on win32, Surface Go 2 are no more reported as Hyper-V
    • on linux, disk encryption detection has been enhanced
    • on linux, Qemu Kvm virtualization inventory has been enhanced
    • dmidecode parsing result has been cleaned a little
    • on linux, virtual overlayfs related to docker are now filtered out
    • on linux, ASM storage inventory has been enhanced
    • manufacturer reporting is now better
    • we now support parsing few manufacturer PartNumbers which can enhance inventory for memories and controllers
    • thanks to a great work from Vadim Pisarev (aka po1vo):
      • smartctl could be used to enhanced storage support on linux
      • memory model is now included in inventory
      • controller model and serial are also supported
      • memory and controller inventory can also be enhanced using IPMI
      • Storage inventory has been enhanced
      • we have Micron PartNumber memory support

      For the NetDiscovery/NetInventory tasks:

      • the following enhancement has been included:
        • a better Ricoh and Zebra printers support with better hostname detection
        • Oki printers support has been enhanced with model detection
        • support for few Siemens and MultiTech industrial modules
        • LinuxAppliance support has been extended to support Ubiquiti UniFi AP
        • Hwg support has been added thanks to Bertrand Keller
        • HP switches support has been enhanced
        • we now verify a user and password has been provided before attemting to connect to ESX server
        • fusioninventory-injector has been enhanced to avoid a fatal error while submitting a empty or wrong file and while using –xml-ua option
        • fusioninventory-injector also now check and report an error if the server is answering the XML is not valid

        On packaging side:

        • win32 installer now uses Strawberry Perl 5.32.0.1 and dmidecode v3.3-gitd64af97
        • Debian package will no more produce an error while installing again after an uninstall

        Check the Changes file for more details.

        The agent is no more supported for old operating systems. It may continue to work on these platforms but we won’t handle issues reported for them:

        As another reminder, Windows agent installers are built from the fusioninventory-agent-windows-installer github repository.

        As usual many thanks to all our community, users and contributors!

        Fusioninventory agent что это за программа и нужна ли она

        We prepare the features and modification on agent we want and the integration with FusionSuite project (server part)

        2020

        FusionInventory agent 2.6

        Release of the FusionInventory agent 2.6

        2019

        FusionInventory agent 2.5

        Release of the FusionInventory agent 2.5

        2019

        Plugin FusionInventory for GLPI 9.4

        Release of the plugin FusionInventory for GLPI 9.4

        2017

        Plugin FusionInventory for GLPI 9.2

        Release of the plugin FusionInventory for GLPI 9.2

        2017

        FusionInventory agent 2.4

        Release of the FusionInventory agent 2.4

        2016

        Plugin FusionInventory for GLPI 9.1

        Release of the plugin FusionInventory for GLPI 9.1

        2015

        Migration of code on GitHub platform

        We migrate the code of all parts of FusionInventory on GitHub

        2014

        Plugin FusionInventory for GLPI 0.85

        Release of the plugin FusionInventory for GLPI 0.85

        2013

        Plugin FusionInventory for GLPI 0.84

        Release of the plugin FusionInventory for GLPI 0.84

        2013

        FusionInventory agent 2.3.0

        Release of the FusionInventory agent 2.3.0

        2012

        Plugin FusionInventory for GLPI 0.83

        Release of the plugin FusionInventory for GLPI 0.83

        2011

        Android agent

        Release of the Android agent

        2011

        Rudder integration

        Rudder integrate the FusionInventory agent

        2010

        Uranos integration

        The projet Uranos use the FusionInventory agent

        2010

        FusionInventory project

        The FusionInventory project was born

        2009

        Agent/Server integration

        integration of the agent with plugin Tracker

        2008

        Server project (Tracker, a GLPI plugin)

        Tracker plugin for GLPI, for SMNP inventory and network discovery

        2006

        Linux OCSInventory Agent creation

        Creation of the OCSInventory linux agent for local inventory, will be in the future the FusionInventory agent.

        Our
        great
        story!

        Partners

        DCS Easyware

        • FusionInventory for GLPI and Agent
        • Tests and bug reports: Daily tests and bugfixes
        • Promotion and Communication: Conferences, presentations
        • Documentation
        • User support (Discord / github): Daily support
        • Training: GLPI and FusionInventory training

        Normation

        • Agent
        • Tests and bug reports: bug reports
        • Promotion and Communication: Conferences and website hosting

        Zenitique

        • bug reports
        • user support

        При подготовке материала использовались источники:
        https://documentation.fusioninventory.org/FusionInventory_agent/manpage/fusioninventory-agent/
        https://fusioninventory.org/news/2020/11/26/fusioninventory-agent-2.6.html
        https://fusioninventory.org/

Оцените статью