Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FUSIONINVENTORY-NETINVUserRContributed Perl DocFUSIONINVENTORY-NETINVENTORY(1)

NAME
       fusioninventory-netinventory - Standalone network inventory

SYNOPSIS
       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

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

OPTIONS
       --host HOST
	   Run an online inventory against given host. Multiple	usage allowed,
	   for multiple	hosts.

       --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

       --file FILE
	   Run an offline inventory against snmpwalk output, stored in given
	   file.  Multiple usage allowed, for multiple files.

       --communty 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:

	   o   version:2c,community:public

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

	   o   etc.

       --timeout TIME
	   Set SNMP timeout, in	seconds.

       --type TYPE
	   Force device	type, instead of relying on automatic identification.
	   Currently allowed types:

	   o   COMPUTER

	   o   NETWORKING

	   o   PRINTER

	   o   STORAGE

	   o   POWER

	   o   PHONE

       --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 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

perl v5.32.1			  2019-12-12   FUSIONINVENTORY-NETINVENTORY(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=fusioninventory-netinventory&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help