src/MIBS/Linux/Host.php
public function returnFullDataStorage() {

        $aStorage = $this->getSNMP()->realWalk1d(self::OID_STORAGE);

        $aReturn = Array();
        $aReturn['memory_size'] = $aStorage[self::OID_STORAGE_MEMORY_SIZE][0];


        $aReturn['index'] = $aStorage[self::OID_STORAGE_INDEX];
        $aReturn['type'] = $aStorage[self::OID_STORAGE_TYPE];
        $aReturn['description'] = $aStorage[self::OID_STORAGE_DESCR];
        $aReturn['allocation_units'] = $aStorage[self::OID_STORAGE_ALLOCATION_UNITS];
        $aReturn['size'] = $aStorage[self::OID_STORAGE_SIZE];
        $aReturn['used'] = $aStorage[self::OID_STORAGE_USED];

        return $aReturn;
    }
public function returnFullDataStorage() {

        $aStorage = $this->getSNMP()->realWalk1d(self::OID_STORAGE);

        $aReturn = Array();
        $aReturn['memory_size'] = $aStorage[self::OID_STORAGE_MEMORY_SIZE][0];


        $aReturn['index'] = $aStorage[self::OID_STORAGE_INDEX];
        $aReturn['type'] = $aStorage[self::OID_STORAGE_TYPE];
        $aReturn['description'] = $aStorage[self::OID_STORAGE_DESCR];
        $aReturn['allocation_units'] = $aStorage[self::OID_STORAGE_ALLOCATION_UNITS];
        $aReturn['size'] = $aStorage[self::OID_STORAGE_SIZE];
        $aReturn['used'] = $aStorage[self::OID_STORAGE_USED];

        return $aReturn;
    }
public function returnFullDataStorage ( ) { $ aStorage = $ this -> getSNMP ( ) -> realWalk1d ( self :: OID_STORAGE ) ; $ aReturn = Array ( ) ; $ aReturn [ 'memory_size' ] = $ aStorage [ self :: OID_STORAGE_MEMORY_SIZE ] [ 0 ] ; $ aReturn [ 'index' ] = $ aStorage [ self :: OID_STORAGE_INDEX ] ; $ aReturn [ 'type' ] = $ aStorage [ self :: OID_STORAGE_TYPE ] ; $ aReturn [ 'description' ] = $ aStorage [ self :: OID_STORAGE_DESCR ] ; $ aReturn [ 'allocation_units' ] = $ aStorage [ self :: OID_STORAGE_ALLOCATION_UNITS ] ; $ aReturn [ 'size' ] = $ aStorage [ self :: OID_STORAGE_SIZE ] ; $ aReturn [ 'used' ] = $ aStorage [ self :: OID_STORAGE_USED ] ; return $ aReturn ; }
Returns Full Data Storage
@return int
Returns Full Data Storage