FUSIONI...SCOVERY(1)

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

πŸ’– FUSIONINVENTORY-NETDISCOVERY πŸ’– (section 1, from the User Contributed Perl Documentation, bestie)

✨ NAME ✨

fusioninventory-netdiscovery β€” standalone network discovery πŸ¦‹


🌸 SYNOPSIS 🌸

okay so the vibe is: you run it with some options and an IP range, periodt.

fusioninventory-netdiscovery [options] --first <address> --last
<address>

  Options:
    --first <ADDRESS>      IP range first address
    --last <ADDRESS>       IP range last address
    --port <PORT[,PORT2]>  SNMP port (161)
    --protocol <PROT[,P2]> SNMP protocol/domain (udp/ipv4)
    --community <STRING>   SNMP community string (public)
    --credentials <STRING> SNMP credentials (version:1,community:public)
    --timeout <TIME        SNMP timeout, in seconds (1)
    --entity <ENTITY>      GLPI entity
    --threads <COUNT>      number of discovery threads (1)
    --control              output control messages
    -i --inventory         chain with netinventory task for discovered devices
    -s --save <FOLDER>     base folder where to save discovery and inventory xmls
                            - netdiscovery xmls will go in <FOLDER>/netdiscovery
                            - netinventory xmls will go in <FOLDER>/netinventory
    --debug                debug output
    -h --help              print this message and exit
    --version              print the task version and exit

🫢 DESCRIPTION 🫢

fusioninventory-netdiscovery is literally the way you run a network discovery task without a GLPI server. no server, no problem, she's doing it solo and she's thriving πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • --first ADDRESS β€” sets the very first IP address of the network range you're about to scan. the beginning of the story 🌈
  • --last ADDRESS β€” sets the last IP address of the network range to scan. the end of the story πŸŽ€
  • --port PORT[,PORT2] β€” the list of ports to try. defaults to: 161
    • fr fr you can stack them: set it to 161,16100 to hit the default port first and then 16100 after. she's thorough πŸ’–
  • --protocol PROTOCOL[,PROTOCOL2] β€” the list of protocols to try. defaults to: udp/ipv4
    • possible values are: udp/ipv4, udp/ipv6, tcp/ipv4, tcp/ipv6 β€” pick your fighter ✨
  • --community STRING β€” uses the string you give it as the SNMP community (and lowkey assumes SNMPv1 while doing it).
  • --credentials STRING β€” uses your string as the SNMP credentials specification. it's a comma-separated list of key:value auth params, and it's giving very flexible, like:
    • version:2c,community:public
    • version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
    • etc. β€” iykyk, go wild 🧚
  • --timeout TIME β€” sets the SNMP timeout, in seconds.
  • --entity ENTITY β€” sets the GLPI entity.
  • --threads COUNT β€” uses the given number of inventory threads. parallel queen πŸ‘‘
  • --control β€” outputs server-agent control messages, in addition to the inventory result itself. two things at once, multitasking icon.
  • --debug β€” turns debug mode on. and ngl? you can use it multiple times for extra verbosity. more --debug = more tea β˜•πŸ’€

πŸ”₯ EXAMPLES πŸ”₯

run a discovery against a network range, using SNMP version 1:

$> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
--community public

run a discovery against a network range, using multiple SNMP credentials:

$> fusioninventory-netdiscovery --first 192.168.0.1 --last 192.168.0.254 \
--credentials version:2c,community:public \
--credentials version:3,username:admin,authprotocol:sha,authpassword:s3cr3t

that's the whole page bestie, no cap πŸ’œ this one came from perl v5.42.0 and was dated 2025-07-23 β€” iconic, ate, periodt βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from