Results of 1 - 2 of about 2 for nsysdescr (0.001 sec.)
- 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 9357
- « SNMP::getError SNMP::set » PHP Manual SNMP 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 検索 SNMP::getnext (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::getnext — 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 説明 public
... 列でリクエストすると結果は連想配列で返されます。 <?php $session = new SNMP ( SNMP :: VERSION_1 , "127.0.0.1" , "public" ); $nsysdescr = $session -> getnext ( "sysDescr.0" ); echo " $nsysdescr \n" ; $nsysdescr = $session -> getnext (array( "sysDescr.0" )); ... print_r ( $nsysdescr ); ?> 上の例の出力は、 たとえば以下のようになります。 OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 Array ( [SNMPv2-MIB::sysObject ... 取得する SNMP::getError() - 直近のエラーメッセージを取得する 関連キーワード: オブジェクト getnext objectId session 配列 場合 nsysdescr array リクエスト sysDescr netSnmpAgentOIDs SNMPv getError 連想 発生 結果 php new print Array ...
-
https://man.mtool.work/php/8.3/snmp.getnext.html
- 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 9357
- « SNMP::getError SNMP::set » PHP Manual SNMP 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 検索 SNMP::getnext (PHP 5 >= 5.4.0, PHP 7, PHP 8) SNMP::getnext — 指定したオブジェクト ID に続く SNMP オブジェクトを取得する 説明 public
... 列でリクエストすると結果は連想配列で返されます。 <?php $session = new SNMP ( SNMP :: VERSION_1 , "127.0.0.1" , "public" ); $nsysdescr = $session -> getnext ( "sysDescr.0" ); echo " $nsysdescr \n" ; $nsysdescr = $session -> getnext (array( "sysDescr.0" )); ... print_r ( $nsysdescr ); ?> 上の例の出力は、 たとえば以下のようになります。 OID: NET-SNMP-MIB::netSnmpAgentOIDs.8 Array ( [SNMPv2-MIB::sysObject ... 直近のエラーコードを取得する SNMP::getError() - 直近のエラーメッセージを取得する 関連キーワード: getnext objectId session nsysdescr リクエスト sysDescr netSnmpAgentOIDs SNMPv getError 連想 print sysObjectID results 直近 mixed 要求 ライブラリ 種類 excepti ...
-
https://man.mtool.work/php/8.3/snmp.getnext.html
PREV
1
NEXT