FUSIONINVENTORY-NETINVENTORY(1p) | User Contributed Perl Documentation | FUSIONINVENTORY-NETINVENTORY(1p) |
fusioninventory-netinventory - Standalone network inventory
fusioninventory-netinventory [options] [--host <host>|--file <file>]
Options: --host <HOST> target host --port <PORT[,PORT2]> SNMP port (161) --protocol <PROT[,P2]> SNMP protocol/domain (udp/ipv4) --file <FILE> snmpwalk output file --community <STRING> community string (public) --credentials <STRING> SNMP credentials (version:1,community:public) --timeout <TIME> SNMP timeout, in seconds (15) --type <TYPE> force device type --threads <COUNT> number of inventory threads (1) --control output control messages --debug debug output -h --help print this message and exit --version print the task version and exit
fusioninventory-netinventory can be used to run a network inventory task without a GLPI server.
Set it to 161,16100 to first try on default port and then on 16100.
Possible values are: udp/ipv4,udp/ipv6,tcp/ipv4,tcp/ipv6
Run an inventory against a network device, using SNMP version 2c authentication:
$> fusioninventory-netinventory --host 192.168.0.1 \ --credentials version:2c,community:public
Run an inventory against a network device, using SNMP version 3 authentication and forcing its type:
$> fusioninventory-netinventory --host my.device --type NETWORKING \ --credentials version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
2018-10-08 | perl v5.26.2 |