glpi-inventory

Attention

--assetname-support options is available since glpi-agent 1.5

NAME

glpi-inventory - Standalone inventory

SYNOPSIS

glpi-inventory [options]

Options:
  --scan-homedirs                scan use home directories (false)
  --scan-profiles                scan user profiles (false)
  --html                         save the inventory as HTML (false)
  --json                         save the inventory as JSON (false)
  --no-category=CATEGORY         do not list given category items
  --partial=CATEGORY             make a partial inventory of given category
                                   items, this option implies --json
  --credentials                  set credentials to support database inventory
  -t --tag=TAG                   mark the machine with given tag
  --backend-collect-timeout=TIME timeout for inventory modules
                                   execution (30)
  --additional-content=FILE      additional inventory content file
  --assetname-support=1|2        [unix/linux only] set the asset name depending on the given value:
                                  - 1 (the default), the short hostname is used as asset name
                                  - 2, the as-is hostname (can be fqdn) is used as asset name
                                 this feature is not supported on MacOS or Windows
  --verbose                      verbose output (control messages)
  --debug                        debug output (execution traces)
  -h --help                      print this message and exit
  --version                      print the task version and exit

DESCRIPTION

glpi-inventory can be used to run an inventory task without a GLPI server.