« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for sysObjectID (0.003 sec.)
snmp_set_oid_output_format — OID の出力形式を設定する | PHP 8.3 11849
snmp_set_oid_output_format (PHP 5 >= 5.2.0, PHP 7, PHP 8) snmp_set_oid_output_format — OID の出力形式を設定する 説明 function snmp_set_oid_output_format ( int $format ): true snmp_set_oid_output_format() は、 出力形式を完全か数値のいずれかに ... SNMP-TC" ); // デフォルト、あるいは SNMP_OID_OUTPUT_MODULE print_r ( snmprealwalk ( 'localhost' , 'public' , 'RFC1213-MIB::sysObjectID' ) ); snmp_set_oid_output_format ( SNMP_OID_OUTPUT_NUMERIC ); print_r ( snmprealwalk ( 'localhost' , 'public' , 'RFC1213-M ... IB::sysObjectID' ) ); snmp_set_oid_output_format ( SNMP_OID_OUTPUT_FULL ); print_r ( snmprealwalk ( 'localhost' , 'public' , 'RFC1213-MIB: ... :sysObjectID' ) ); ?> 上の例の結果は次のようになります。 Array ( [RFC1213-MIB::sysObjectID.0] => OID: NET-SNMP-TC::linux ) Array ( [.1. ...
https://man.mtool.work/php/8.3/function.snmp-set-oid-output-format.html
SNMP::getnext — 指定したオブジェクト ID に続く SNMP オブジェクトを取得する | PH... 8575
SNMP::getnext (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::getnext — 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 説明 public function SNMP::getnext ( array | string $objectId ): mixed objectId で指定したオブジェクトに続く SNMP オブジ ... nsysdescr ); ?> 上の例の出力は、 たとえば以下のようになります。 OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 Array ( [SNMPv2-MIB::sysObjectID.0] => OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 ) 例2 複数の SNMP オブジェクト <?php $session = new SNMP ( SNMP :: VERSION_1 , ... 0" )); print_r ( $results ); $session -> close (); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [SNMPv2-MIB::sysObjectID.0] => OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 [SNMPv2-MIB::sysLocation.0] => STRING: Nowhere ) 参考 SNMP::getErrno() - 直近の ...
https://man.mtool.work/php/8.3/snmp.getnext.html
SNMP::walk — SNMP オブジェクトのサブツリーを取得する | PHP 8.3 7459
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 ... ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [SNMPv2-MIB::sysDescr.0] => STRING: Test server [SNMPv2-MIB::sysObjectID.0] => OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 [DISMAN-EVENT-MIB::sysUpTimeInstance] => Timeticks: (1150681750) 133 days, 4:2 ...
https://man.mtool.work/php/8.3/snmp.walk.html
PREV 1 NEXT