inc/Abstract.php
/**
     * Function walks through SNMP object id and returns result in array,
     * or returns false of call failed
     *
     * @param string $snmpObjectId
     * @return array
     * @throws Exception if IP address is not set
     * @throws Exception if $snmpObjectId is not in string format
     */
Function walks through SNMP object id and returns result in array,
or returns false of call failed

@param string $snmpObjectId
@return array
@throws Exception if IP address is not set
@throws Exception if $snmpObjectId is not in string format
Function walks through SNMP object id and returns result in array or returns false of call failed @param string $snmpObjectId @return array @throws Exception if IP address is not set @throws Exception if $snmpObjectId is not in string format
public function walk($snmpObjectId)
    {
        if ($this->ip === null) {
            require_once 'Exception.php';
            throw new Kohut_SNMP_Exception('IP address was not set.');
        }
        if (!is_string($snmpObjectId)) {
            require_once 'Exception.php';
            throw new Kohut_SNMP_Exception('SNMP Object ID is not string.');
        }
        return @snmpwalk($this->ip, 'public', $snmpObjectId, $this->maxTimeout);
    }
public function walk ( $ snmpObjectId ) { if ( $ this -> ip === null ) { require_once 'Exception.php' ; throw new Kohut_SNMP_Exception ( 'IP address was not set.' ) ; } if ( ! is_string ( $ snmpObjectId ) ) { require_once 'Exception.php' ; throw new Kohut_SNMP_Exception ( 'SNMP Object ID is not string.' ) ; } return @ snmpwalk ( $ this -> ip , 'public' , $ snmpObjectId , $ this -> maxTimeout ) ; }
Function walks through SNMP object id and returns result in array,
 or returns false of call failed
Function walks through SNMP object id and returns result in array or returns false of call failed
/**
         * Check if IP address is set
         */ /**
         * Check if SNMP object ID is in string format
         */