« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for ifType (0.001 sec.)
SNMP オブジェクトのサブツリーを取得する 9357
« SNMP::setSecurity SNMPException » PHP Manual SNMP SNMP オブジェクトのサブツリーを取得する 検索 SNMP::walk (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::walk — SNMP オブジェクトのサブツリーを取得する 説明 public function SNMP::walk ( array | string ... _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 ... ツリー オブジェクト suffixAsKey 場合 print Array SNMPv igb ieee adLag ethernetCsmacd array objectId false 変数 発生 ifDescr ifType ...
https://man.mtool.work/php/8.3/snmp.walk.html
SNMP オブジェクトのサブツリーを取得する 9357
« SNMP::setSecurity SNMPException » PHP Manual SNMP SNMP オブジェクトのサブツリーを取得する 検索 SNMP::walk (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::walk — SNMP オブジェクトのサブツリーを取得する 説明 public function SNMP::walk ( array | string ... _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 ... ジを取得する 関連キーワード: walk session サブツリー suffixAsKey print SNMPv ieee adLag ethernetCsmacd objectId 変数 ifDescr ifType SNMPException maxRepetitions nonRepeaters キー 反復 getErrno getError エラーメッセージ fulltree server valueretrieval ipfw ...
https://man.mtool.work/php/8.3/snmp.walk.html
PREV 1 NEXT