« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ifType (0.000 sec.)
SNMP::walk — SNMP オブジェクトのサブツリーを取得する | PHP 8.3 9414
SNMP::walk (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::walk — SNMP オブジェクトのサブツリーを取得する 説明 public function SNMP::walk ( array | string $objectId , bool $suffixAsKey = false , int $maxRepetitions = -1 , int $nonRepeaters = -1 ): arr ... _PLAIN ; $ifDescr = $session -> walk ( ".1.3.6.1.2.1.2.2.1.2" , TRUE ); $session -> valueretrieval = SNMP_VALUE_LIBRARY ; $ifType = $session -> walk ( ".1.3.6.1.2.1.2.2.1.3" , TRUE ); print_r ( $ifDescr ); print_r ( $ifType ); $result = array(); foreac ... h( $ifDescr as $i => $n ) { $result [ $n ] = $ifType [ $i ]; } print_r ( $result ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [1] => igb0 [2] => igb1 [3] => i ...
https://man.mtool.work/php/8.3/snmp.walk.html
PREV 1 NEXT