*snmp3_get* -- Fetch an SNMP object

  string snmp3_get(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 [, string retries]])~

The |snmp3_get| function is used to read the value of an SNMP object specified
by the {object_id}.

The hostname of the SNMP agent (server).

the security name, usually some kind of username

the security level (noAuthNoPriv|authNoPriv|authPriv)

the authentication protocol (MD5 or SHA)

the authentication pass phrase

the privacy protocol (DES or AES)

the privacy pass phrase

The SNMP object id.

The number of microseconds until the first timeout.

The number of retries in case of timeouts.

Returns SNMP object value on success or FALSE on error.

Using |snmp3_get|

<?php >
  $nameOfSecondInterface = snmp3_get('localhost', 'james', 'authPriv', 'SHA', 'secret007', 'AES', 'secret007', 'IF-MIB::ifName.2');
?>





|snmp3_set|

vim:ft=help:
