1FUSIONINVENTORY-NETINVEUNsTeOrRYC(o1n)tributed Perl DocuFmUeSnItOaNtIiNoVnENTORY-NETINVENTORY(1)
2
3
4

NAME

6       fusioninventory-netinventory - Standalone network inventory
7

SYNOPSIS

9       fusioninventory-netinventory [options] [--host <host>|--file <file>]
10
11         Options:
12           --host <HOST>          target host
13           --port <PORT[,PORT2]>  SNMP port (161)
14           --protocol <PROT[,P2]> SNMP protocol/domain (udp/ipv4)
15           --file <FILE>          snmpwalk output file
16           --community <STRING>   community string (public)
17           --credentials <STRING> SNMP credentials (version:1,community:public)
18           --timeout <TIME>       SNMP timeout, in seconds (15)
19           --type <TYPE>          force device type
20           --threads <COUNT>      number of inventory threads (1)
21           --control              output control messages
22           --debug                debug output
23           -h --help              print this message and exit
24           --version              print the task version and exit
25

DESCRIPTION

27       fusioninventory-netinventory can be used to run a network inventory
28       task without a GLPI server.
29

OPTIONS

31       --host HOST
32           Run an online inventory against given host. Multiple usage allowed,
33           for multiple hosts.
34
35       --port PORT[,PORT2]
36           List of ports to try, defaults to: 161
37
38           Set it to 161,16100 to first try on default port and then on 16100.
39
40       --protocol PROTOCOL[,PROTOCOL2]
41           List of protocols to try, defaults to: udp/ipv4
42
43           Possible values are: udp/ipv4,udp/ipv6,tcp/ipv4,tcp/ipv6
44
45       --file FILE
46           Run an offline inventory against snmpwalk output, stored in given
47           file.  Multiple usage allowed, for multiple files.
48
49       --communty STRING
50           Use given string as SNMP community (assume SNMPv1)
51
52       --credentials STRING
53           Use given string as SNMP credentials specification. This
54           specification is a comma-separated list of key:value authentication
55           parameters, such as:
56
57           •   version:2c,community:public
58
59           •   version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
60
61           •   etc.
62
63       --timeout TIME
64           Set SNMP timeout, in seconds.
65
66       --type TYPE
67           Force device type, instead of relying on automatic identification.
68           Currently allowed types:
69
70           •   COMPUTER
71
72           •   NETWORKING
73
74           •   PRINTER
75
76           •   STORAGE
77
78           •   POWER
79
80           •   PHONE
81
82       --threads count
83           Use given number of inventory threads.
84
85       --control
86           Output server-agent control messages, in addition to inventory
87           result itself.
88
89       --debug
90           Turn the debug mode on. Multiple usage allowed, for additional
91           verbosity.
92

EXAMPLES

94       Run an inventory against a network device, using SNMP version 2c
95       authentication:
96
97           $> fusioninventory-netinventory --host 192.168.0.1 \
98           --credentials version:2c,community:public
99
100       Run an inventory against a network device, using SNMP version 3
101       authentication and forcing its type:
102
103           $> fusioninventory-netinventory --host my.device --type NETWORKING \
104           --credentials version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
105
106
107
108perl v5.36.0                      2022-07-21   FUSIONINVENTORY-NETINVENTORY(1)
Impressum