FUSIONI...NJECTOR(1)

๐Ÿ“ฆ
version 2.6 ยท 2 versions
, in fedora 43

๐Ÿ’– FUSIONINVENTORY-INJECTOR ๐Ÿ’–

okay bestie, welcome to the fusioninventory-injector page from the User Contributed Perl Documentation section of your friendly neighborhood manual ๐Ÿ’… she's a tool. she pushes inventory. that's the whole vibe.


โœจ NAME โœจ

fusioninventory-injector โ€” a tool to push inventory in an OCS Inventory or compatible server. yes that's literally her whole job and she is obsessed with it ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

lowkey the shape of it is:

fusioninventory-injector [options] [--file <file>|--directory <directory>|--stdin|--useragent <user-agent>]

then the options, and bestie there are a few:

  • -h, --help โ€” this menu. the "wait what do i do" button ๐ŸŽ€
  • -d, --directory โ€” load every .ocs file from a directory ๐Ÿ“‚
  • -R, --recursive โ€” recursively load .ocs files from <directory>, she goes deep, she's thorough ๐Ÿ’…
  • -f, --file โ€” load one specific file, main character energy, just the one โญ
  • -u, --url โ€” server URL ๐ŸŒ
  • -r, --remove โ€” remove succesfuly injected files (yes, spelled exactly like that, i don't make the rules) ๐Ÿ—‘๏ธ
  • -v, --verbose โ€” verbose mode, she will Not shut up and honestly? iconic ๐Ÿ‘‘
  • --stdin โ€” read data from STDIN, piping queen ๐Ÿงš
  • --useragent โ€” set used HTTP User-Agent for POST ๐Ÿฆ‹
  • -x, --xml-ua โ€” use Client version found in XML as User-Agent for POST ๐Ÿ“ฎ
  • --no-ssl-check โ€” do not check server SSL certificate ๐Ÿ˜ญ (she's trusting. too trusting. be careful bestie)
  • -C, --no-compression โ€” don't compress sent XML inventories, we're going raw, no zip, no ๐ŸŽ€

and the examples, copied exactly because numbers and paths are sacred:

fusioninventory-injector -v -f /tmp/toto-2010-09-10-11-42-22.ocs --url https://login:pw@example/plugins/fusioninventory/
fusioninventory-injector -v -R -d /srv/ftp/fusion --url https://login:pw@example/plugins/fusioninventory/

look at her go. -v AND -R AND -d all at once. multitasking queen ๐Ÿ”ฅ


๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

This tool can be used to test your server, do benchmark or push inventory from off-line machine.

that's it. that's the description. three jobs, zero drama (okay maybe a little drama, it's a perl script):

  • test your server ๐Ÿงช
  • do benchmark ๐Ÿ“Š
  • push inventory from off-line machine ๐Ÿ’ป

๐ŸŒˆ a lil sign-off ๐ŸŒˆ

so this whole thing is running on perl v5.42.0, dated 2025-07-23 โ€” that's the version and the date right there in the footer, no cap, i'm just telling you where the receipts live ๐Ÿงพโœจ

anyway bestie, go push some inventory, hydrate, and remember: -v or it didn't happen ๐Ÿ’–๐ŸŒธ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from