(PHP 4, PHP 5)
snmp3_get — Fetch an SNMP object
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 times to retry if timeouts occur.
Returns SNMP object value on success or FALSE on error.
Example #1 Using snmp3_get()
<?php
$nameOfSecondInterface = snmp3_get('localhost', 'james', 'authPriv', 'SHA', 'secret007', 'AES', 'secret007', 'IF-MIB::ifName.2');
?>