Ocsinve...::Common(3)
πΈ NAME πΈ
okay so this manual page is Ocsinve...::Common(3) from the User Contributed Perl Documentation, and the module is Ocsinventory::Agent::Common β its whole vibe is to give common methods to other modules π«Ά. Think of it as the group-chat helper that hands inventory-building methods to all the other modules.
Hereβs every method in the exact order the page lists them, bestie β no skips, no βIβll summarize later,β weβre doing all of them π β¨.
addController()β Add a controller in the inventory.addUsb()β Add external usb devices in the inventory.addInput()β Add internal inputs as keyboard, mouse in the inventory.addModem()β Add a modem in the inventory.addDrive()β Add a partition in the inventory.addStorages()β Add a storage system (hard drive, USB key, SAN volume, etc) in the inventory.addMemory()β Add a memory module in the inventory.addPort()β Add a port module in the inventory.addSlot()β Add a slot in the inventory.addSoftware()β Register a software in the inventory.addMonitor()β Add a monitor (screen) in the inventory.addVideo()β Add a video card in the inventory.addSound()β Add a sound card in the inventory.addNetwork()β Register a network in the inventory.addRepo()β Register a repository in the inventory.setHardware()β Save global information regarding the machine. The use ofsetHardware()to updateUSERIDandPROCESSOR*information is deprecated, please, useaddUser()andaddCPU()instead. π¨ like, actually deprecated, so donβt be out here using it for those updates.setBios()β Set BIOS information.addCPU()β Add a CPU in the inventory.addUser()β Add an user in the list of logged user.addLocalUser()β Add local users in the inventory.addLocalGroup()β Add local groups in the inventory.addPrinter()β Add a printer in the inventory.addVirtualMachine()β Add a Virtual Machine in the inventory.addProcess()β Record a running process in the inventory.addCamera()β Add a camera device in the inventory. Only avalaible for MacOSX β yes, spelling exactly as the page has it, bestie π.addIpDiscoverEntry()β IpDiscover is used to identify network interface on the local network. This is done on the ARP level. This function adds a network interface in the inventory. π°οΈsetAccessLog()β the description is literally βWhat is that for? :)β β iconic, honestly.flushXMLTags()β Clear the content of$common->{xmltags}(to use after adding it in XML).addBatteries()β Add a memory module in the inventory. (yes, thatβs exactly the line π«Ά)
okay thatβs the whole page, no cap! cute little footer sign-off: this is perl v5.32.1, dated 2026-06-05, on Ocsinve...::Common(3) β byeee bestie πβ¨π
π¦ where this page comes from
- epel 9: perl-Ocsinventory-Agent 2.10.5-2.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms