FUSIONI...VENTORY(1)

πŸ“¦
version 2.6 Β· 2 versions
, in fedora 43

πŸ¦‹ NAME πŸ¦‹

fusioninventory-netinventory β€” the standalone network inventory girlie πŸ’… she does a whole network inventory with zero GLPI server involved. Independent. Self-sufficient. Main character energy fr fr πŸ‘‘

oh and btw bestie, this page lives in the User Contributed Perl Documentation part of your manual, section 1. iykyk 🫢


✨ SYNOPSIS ✨

okay so the whole vibe in one code block, look:

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

so like, you either point her at a live --host or hand her a --file β€” pick your fighter πŸ₯Š β€” and then stack options on top like accessories. periodt.


πŸ’– DESCRIPTION πŸ’–

fusioninventory-netinventory can be used to run a network inventory task without a GLPI server. that's it, that's the whole serve. no server, no problem, she's doing it herself and she's doing it beautifully 🌸


πŸ”₯ OPTIONS πŸ”₯

  • --host HOST β€” run an online inventory against the given host. multiple usage allowed, for multiple hosts. like, stack them, she can hold more than one 🫢
  • --port PORT[,PORT2] β€” the list of ports to try. defaults to: 161

set it to 161,16100 to first try on the default port and then on 16100. yes, she'll knock on door number one and then door number two, very polite πŸ’…

  • --protocol PROTOCOL[,PROTOCOL2] β€” the list of protocols to try. defaults to: udp/ipv4

possible values are: udp/ipv4,udp/ipv6,tcp/ipv4,tcp/ipv6 β€” that's the whole menu bestie, no secret off-menu items 🌈

  • --file FILE β€” run an offline inventory against snmpwalk output, stored in the given file. multiple usage allowed, for multiple files. offline era 😌✨
  • --communty STRING β€” use the given string as the SNMP community (and assume SNMPv1).
okay bestie heads up: this one is spelled --communty right here on the page. that is genuinely how it's written. i'm not fixing it, i'm just reporting the facts πŸ™ˆ the synopsis up there says --community, and this section says --communty, and both of those are exactly what the page says. live your truth.
  • --credentials STRING β€” use the given string as an 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.

so like, key colon value, comma, key colon value, forever and ever, iconic πŸŽ€

  • --timeout TIME β€” set the SNMP timeout, in seconds. patience levels: configurable 🧚
  • --type TYPE β€” force the device type, instead of relying on automatic identification. currently allowed types:
    • COMPUTER
    • NETWORKING
    • PRINTER
    • STORAGE
    • POWER
    • PHONE

those are your options, no freestyling with made-up types πŸ’€

  • --threads count β€” use the given number of inventory threads. multitasking queen behavior πŸ‘‘
  • --control β€” output server-agent control messages, in addition to the inventory result itself. two things at once, we love that πŸ¦‹
  • --debug β€” turn the debug mode on. multiple usage allowed, for additional verbosity. stack it, stack it again, she'll get chattier every time 😭πŸ”₯

πŸŽ€ 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

see how she just goes? no GLPI server in sight, just vibes and credentials πŸ’–


and that's the whole page bestie, you ate it, you understood it, slay 🌟

kisses, this was perl v5.42.0 on 2025-07-23, signing off from the FUSIONI...VENTORY(1) page πŸ’œβœ¨

πŸ“¦ where this page comes from