|
snmp3_walkFetch all the SNMP objects from an agent Description
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. Parameters
Return Values
Returns an array of SNMP object values starting from the
Examples
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', ) See Also
|