SNMP
简介
SNMP 扩展提供了非常简单易用的工具集,用于通过简单网络管理协议管理远程设备。
由于是底层 Net-SNMP 库的封装协议,所有基本概念都是相同的,并且 PHP 函数会根据 Net-SNMP 配置文件和环境变量更改其行为。
有关 Net-SNMP 的更多信息,请访问 » https://www.net-snmp.org/
- 安装/配置
- 预定义常量
- SNMP 函数
- snmp_get_quick_print — 获取当前 NET-SNMP 库的 quick_print 设置的值
- snmp_get_valueretrieval — Return the method how the SNMP values will be returned
- snmp_read_mib — Reads and parses a MIB file into the active MIB tree
- snmp_set_enum_print — Return all values that are enums with their enum value instead of the raw integer
- snmp_set_oid_numeric_print — 别名 snmp_set_oid_output_format
- snmp_set_oid_output_format — Set the OID output format
- snmp_set_quick_print — 在 NET-SNMP 库中设置 enable 的值
- snmp_set_valueretrieval — Specify the method how the SNMP values will be returned
- snmp2_get — Fetch an SNMP object
- snmp2_getnext — Fetch the SNMP object which follows the given object id
- snmp2_real_walk — Return all objects including their respective object ID within the specified one
- snmp2_set — Set the value of an SNMP object
- snmp2_walk — Fetch all the SNMP objects from an agent
- snmp3_get — Fetch an SNMP object
- snmp3_getnext — Fetch the SNMP object which follows the given object id
- snmp3_real_walk — Return all objects including their respective object ID within the specified one
- snmp3_set — Set the value of an SNMP object
- snmp3_walk — Fetch all the SNMP objects from an agent
- snmpget — 获取 SNMP 对象
- snmpgetnext — Fetch the SNMP object which follows the given object id
- snmprealwalk — 返回指定的所有对象,包括它们各自的对象 ID
- snmpset — 设置 SNMP 对象的值
- snmpwalk — 从代理获取所有 SNMP 对象
- snmpwalkoid — 查询有关网络实体的信息树
- SNMP — The SNMP class
- SNMP::close — Close SNMP session
- SNMP::__construct — Creates SNMP instance representing session to remote SNMP agent
- SNMP::get — Fetch an SNMP object
- SNMP::getErrno — Get last error code
- SNMP::getError — Get last error message
- SNMP::getnext — Fetch an SNMP object which follows the given object id
- SNMP::set — Set the value of an SNMP object
- SNMP::setSecurity — Configures security-related SNMPv3 session parameters
- SNMP::walk — Fetch SNMP object subtree
- SNMPException — The SNMPException class
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
