update : 2015.11.03
php.shukuma.com검색:
|
snmp_read_mib(PHP 5) snmp_read_mib — Reads and parses a MIB file into the active MIB tree 설명
bool snmp_read_mib
( string
$filename
)This function is used to load additional, e.g. vendor specific, MIBs so that human readable OIDs like VENDOR-MIB::foo.1 instead of error prone numeric OIDs can be used. The order in which the MIBs are loaded does matter as the underlying Net-SNMP libary will print warnings if referenced objects cannot be resolved. 인수
예제
Example #1 Using snmp_read_mib()
<?php The above example is made up but the results would look like: Array ( [iso.3.6.1.2.1.2.3.4.5.0] => Gauge32: 6 ) Array ( [FOO-BAR-MIB::someTable.0] => Gauge32: 6 ) |