cvs: phpdoc-zh /reference/snmp/functions snmpget.xml
| From: | Krazy Nio | Date: | Mon, 25 Aug 2003 15:08:48 +0000 |
| Subject: | cvs: phpdoc-zh /reference/snmp/functions snmpget.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1681@lists.php.net to get a copy of this message | ||
nio Mon Aug 25 11:08:48 2003 EDT
Added files:
/phpdoc-zh/reference/snmp/functions snmpget.xml
Log:
Add file.
Index: phpdoc-zh/reference/snmp/functions/snmpget.xml
+++ phpdoc-zh/reference/snmp/functions/snmpget.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: nio $ -->
<!-- EN-Revision: 1.3 Maintainer: nio Status: ready -->
<!-- splitted from ./en/functions/snmp.xml, last change in rev 1.2 -->
<refentry id="function.snmpget">
<refnamediv>
<refname>snmpget</refname>
<refpurpose>»ñȡһ¸ö SNMP ¶ÔÏó</refpurpose>
</refnamediv>
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
<type>string</type><methodname>snmpget</methodname>
<methodparam><type>string</type><parameter>hostname</parameter></methodparam>
<methodparam><type>string</type><parameter>community</parameter></methodparam>
<methodparam><type>string</type><parameter>object_id</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>timeout</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>retries</parameter></methodparam>
</methodsynopsis>
<para>
³É¹¦Ôò·µ»Ø SNMP µÄ¶ÔÏóÖµ£¬Ê§°ÜÔò·µ»Ø &false;¡£
</para>
<para>
º¯Êý <function>snmpget</function> ÓÃÓÚ¶ÁÈ¡ÓÉ
<parameter>object_id</parameter> Ö¸¶¨µÄ SNMP
¶ÔÏóÖµ¡£<parameter>hostname</parameter> Ö¸¶¨
SNMP ´úÀí£¬¶ø <parameter>community</parameter>
²ÎÊýÖ¸¶¨¾ßÓжÁȨÏÞµÄÓòµÄÃû×Ö¡£
</para>
<para>
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
$syscontact = snmpget("127.0.0.1", "public", "system.SysContact.0");
?>
]]>
</programlisting>
</informalexample>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->