From e61f791a333d1b89035d7da9959babd51c12e179 Mon Sep 17 00:00:00 2001 From: Christian Hammers Date: Sat, 19 Feb 2011 18:48:29 +0000 Subject: [PATCH] Added documentation for snmpgetnext() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308492 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/snmp/functions/snmpgetnext.xml | 74 ++++++++++++++++++++++-- 1 file changed, 70 insertions(+), 4 deletions(-) diff --git a/reference/snmp/functions/snmpgetnext.xml b/reference/snmp/functions/snmpgetnext.xml index 95b4bbabaa..9b9c100aa0 100644 --- a/reference/snmp/functions/snmpgetnext.xml +++ b/reference/snmp/functions/snmpgetnext.xml @@ -4,7 +4,7 @@ snmpgetnext - Fetch a SNMP object + Fetch the SNMP object which follows the given object id @@ -17,10 +17,76 @@ inttimeout intretries - - &warn.undocumented.func; - + + + The snmpgetnext function is used to read the + value of the SNMP object that follows the specified + object_id. + + + + &reftitle.parameters; + + + + host + The hostname of the SNMP agent (server). + + + community + The read community. + + + object_id + The SNMP object id which precedes the wanted one. + + + timeout + The number of microseconds until the first timeout. + + + retries + The number of retries in case timeouts occur. + + + + + + + &reftitle.returnvalues; + + Returns SNMP object value on success or &false; on error. + In case of an error, an E_WARNING message is shown. + + + + + &reftitle.examples; + + + Using <function>snmpgetnext</function> + + +]]> + + + + + + + &reftitle.seealso; + + + snmpget + snmpwalk + + + +