Ocsinventory::Agent::Common(3)

NAME
Ocsinventory::Agent::Common - give common methods to other modules

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 of setHardware() to update USERID and PROCESSOR* information is deprecated, please, use addUser() and addCPU() instead.

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

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()
    What is that for? :)

flushXMLTags()
    Clear the content of $common->{xmltags} (to use after adding it in XML)

addBatteries()
    Add a memory module in the inventory.