1FUSIONINVENTORY-NETDISCUOsVeErRYC(o1n)tributed Perl DocuFmUeSnItOaNtIiNoVnENTORY-NETDISCOVERY(1)
2
3
4
6 fusioninventory-netdiscovery - Standalone network discovery
7
9 fusioninventory-netdiscovery [options] --first <address> --last
10 <address>
11
12 Options:
13 --first <ADDRESS> IP range first address
14 --last <ADDRESS> IP range last address
15 --port <PORT[,PORT2]> SNMP port (161)
16 --protocol <PROT[,P2]> SNMP protocol/domain (udp/ipv4)
17 --community <STRING> SNMP community string (public)
18 --credentials <STRING> SNMP credentials (version:1,community:public)
19 --timeout <TIME SNMP timeout, in seconds (1)
20 --entity <ENTITY> GLPI entity
21 --threads <COUNT> number of discovery threads (1)
22 --control output control messages
23 -i --inventory chain with netinventory task for discovered devices
24 -s --save <FOLDER> base folder where to save discovery and inventory xmls
25 - netdiscovery xmls will go in <FOLDER>/netdiscovery
26 - netinventory xmls will go in <FOLDER>/netinventory
27 --debug debug output
28 -h --help print this message and exit
29 --version print the task version and exit
30
32 fusioninventory-netdiscovery can be used to run a network discovery
33 task without a GLPI server.
34
36 --first ADDRESS
37 Set the first IP address of the network range to scan.
38
39 --last ADDRESS
40 Set the last IP address of the network range to scan.
41
42 --port PORT[,PORT2]
43 List of ports to try, defaults to: 161
44
45 Set it to 161,16100 to first try on default port and then on 16100.
46
47 --protocol PROTOCOL[,PROTOCOL2]
48 List of protocols to try, defaults to: udp/ipv4
49
50 Possible values are: udp/ipv4,udp/ipv6,tcp/ipv4,tcp/ipv6
51
52 --community STRING
53 Use given string as SNMP community (assume SNMPv1).
54
55 --credentials STRING
56 Use given string as SNMP credentials specification. This
57 specification is a comma-separated list of key:value authentication
58 parameters, such as:
59
60 · version:2c,community:public
61
62 · version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
63
64 · etc.
65
66 --timeout TIME
67 Set SNMP timeout, in seconds.
68
69 --entity ENTITY
70 Set GLPI entity.
71
72 --threads COUNT
73 Use given number of inventory threads.
74
75 --control
76 Output server-agent control messages, in addition to inventory
77 result itself.
78
79 --debug
80 Turn the debug mode on. Multiple usage allowed, for additional
81 verbosity.
82
84 Run a discovery against a network range, using SNMP version 1:
85
86 $> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
87 --community public
88
89 Run a discovery against a network range, using multiple SNMP
90 credentials:
91
92 $> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
93 --credentials version:2c,community:public \
94 --credentials version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
95
96
97
98perl v5.32.1 2021-01-29 FUSIONINVENTORY-NETDISCOVERY(1)