fusioninventory-netdiscovery(1p)

fusioninventory-netdiscovery1p

Standalone network discovery

Usage

fusioninventory-netdiscovery [options] --first <address> --last <address>

Overview

fusioninventory-netdiscovery can be used to run a network discovery task without a GLPI server.

Options

--first ADDRESS

Set the first IP address of the network range to scan.

--last ADDRESS

Set the last IP address of the network range to scan.

--port PORT[,PORT2]

List of ports to try, defaults to: 161

Set it to 161,16100 to first try on default port and then on 16100.

--protocol PROTOCOL[,PROTOCOL2]

List of protocols to try, defaults to: udp/ipv4

Possible values are: udp/ipv4,udp/ipv6,tcp/ipv4,tcp/ipv6

--community STRING

Use given string as SNMP community (assume SNMPv1).

--credentials STRING

Use given string as SNMP credentials specification. This specification is a comma-separated list of key:value authentication parameters, such as:

•

version:2c,community:public

•

version:3,username:admin,authprotocol:sha,authpassword:s3cr3t

•

etc.

--timeout TIME

Set SNMP timeout, in seconds.

--entity ENTITY

Set GLPI entity.

--threads COUNT

Use given number of inventory threads.

--control

Output server-agent control messages, in addition to inventory result itself.

--debug

Turn the debug mode on. Multiple usage allowed, for additional verbosity.

Examples

Run a discovery against a network range, using SNMP version 1:

    $> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
    --community public

Run a discovery against a network range, using multiple SNMP credentials:

    $> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
    --credentials version:2c,community:public \
    --credentials version:3,username:admin,authprotocol:sha,authpassword:s3cr3t

Releases

5 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 10
  3. 11
  4. 12
  5. 13

--community since Debian 10 (Buster); --control since Debian 10 (Buster); --credentials since Debian 10 (Buster); --debug since Debian 10 (Buster); --entity since Debian 10 (Buster); --first since Debian 10 (Buster); --last since Debian 10 (Buster); --port since Debian 10 (Buster); --protocol since Debian 10 (Buster); --threads since Debian 10 (Buster); --timeout since Debian 10 (Buster).

From fusioninventory-agent-task-network 1:2.6-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.