update : 2015.11.03
php.shukuma.com검색:
|
snmp3_walk(PHP 4, PHP 5) snmp3_walk — Fetch all the SNMP objects from an agent 설명
array snmp3_walk
( string
$host
, string $sec_name
, string $sec_level
, string $auth_protocol
, string $auth_passphrase
, string $priv_protocol
, string $priv_passphrase
, string $object_id
[, string $timeout = 1000000
[, string $retries = 5
]] )
snmp3_walk() function is used to read all the values from
an SNMP agent specified by the Even if the security level does not use an auth or priv protocol/password valid values have to be specified. 인수
반환값
Returns an array of SNMP object values starting from the
예제
Example #1 snmp3_walk() Example
<?php Above function call would return all the SNMP objects from the SNMP agent running on localhost: array ( 0 => 'STRING: lo', 1 => 'STRING: eth0', 2 => 'STRING: eth2', 3 => 'STRING: sit0', 4 => 'STRING: sixxs', ) 참고
|