FUSIONI...SCOVERY(1p)

πŸ“¦
version 2.6 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

fusioninventory-netdiscovery β€” the standalone network discovery queen πŸ‘‘ She runs a network discovery task all on her own, no GLPI server needed whatsoever. Main character energy, fr fr.


✨ SYNOPSIS ✨

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

Options:

  • --first <ADDRESS> β€” the first address of your IP range 🎯
  • --last <ADDRESS> β€” the last address of your IP range 🏁
  • --port <PORT[,PORT2]> β€” the SNMP port, default is 161 🌸
  • --protocol <PROT[,P2]> β€” the SNMP protocol/domain, default is udp/ipv4 πŸ¦‹
  • --community <STRING> β€” the SNMP community string, default is public πŸ’…
  • --credentials <STRING> β€” the SNMP credentials, default is version:1,community:public πŸ”
  • --timeout <TIME β€” the SNMP timeout, in seconds, default is 1 (yes bestie, that > really is missing in the original, we're not fixing her, we're respecting her πŸ’€)
  • --entity <ENTITY> β€” the GLPI entity πŸŽ€
  • --threads <COUNT> β€” how many discovery threads to spin up, default is 1 🧡
  • --control β€” output control messages πŸ“£
  • -i, --inventory β€” chain it with a netinventory task for the devices it discovers πŸ”—
  • -s, --save <FOLDER> β€” the base folder where discovery and inventory xmls get saved πŸ“
    • netdiscovery xmls land in <FOLDER>/netdiscovery
    • netinventory xmls land in <FOLDER>/netinventory
  • --debug β€” debug output πŸ›
  • -h, --help β€” print this message and dip out πŸ‘‹
  • --version β€” print the task version and dip out 🏷️

🌈 DESCRIPTION 🌈

So like, fusioninventory-netdiscovery lets you run a network discovery task without a GLPI server. That's the whole vibe. Just you, your range of IPs, and the tool doing her thing. πŸ’œ


πŸŽ€ OPTIONS πŸŽ€

  • --first ADDRESS β€” sets the very first IP address of the network range you're scanning. Start of the story, bestie. ⭐
  • --last ADDRESS β€” sets the last IP address of the network range to scan. End of the story. πŸŒ™
  • --port PORT[,PORT2] β€” a list of ports to try, and it defaults to: 161. So if you hit it with 161,16100, it first tries the default port and then goes for 16100. Not her being thorough 🫢
  • --protocol PROTOCOL[,PROTOCOL2] β€” a list of protocols to try, defaulting to: udp/ipv4. The possible values are: udp/ipv4, udp/ipv6, tcp/ipv4, tcp/ipv6. Pick your fighter ✨
  • --community STRING β€” uses the given string as the SNMP community, and it assumes SNMPv1 when you do. πŸ’¬
  • --credentials STRING β€” uses the given string as an SNMP credentials specification. This spec is a comma-separated list of key:value authentication parameters, like:
    • version:2c,community:public
    • version:3,username:admin,authprotocol:sha,authpassword:s3cr3t
    • etc.

Look at her, flexible AND iconic. πŸ”₯

  • --timeout TIME β€” sets the SNMP timeout, in seconds. ⏳
  • --entity ENTITY β€” sets the GLPI entity. 🏒
  • --threads COUNT β€” uses the given number of inventory threads. Parallelism slay. 🧚
  • --control β€” outputs server-agent control messages, on top of the inventory result itself. Extra chatter, but make it useful. πŸ“¨
  • --debug β€” turns debug mode on. You can use it multiple times for additional verbosity, so go off, stack them, live your truth. 😭

🌸 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

Quick reminder, bestie: -i/--inventory and -s/--save <FOLDER> didn't get their own entries in the full OPTIONS list above β€” they live in the SYNOPSIS options rundown, exactly like the original page has them. Nothing got left behind, promise. 🫢

And that's the whole page, no notes πŸ’… This one comes straight outta the User Contributed Perl Documentation, filed under FUSIONI...SCOVERY(1p), built with perl v5.38.2 and dated 2024-05-15. Go discover something, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from