mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Add example referred to in documentation
This commit is contained in:
@@ -932,6 +932,9 @@ function snmp_mib_load($mib, $module, $mibdir = null)
|
||||
/*
|
||||
* Turn the given oid (name or numeric value) into a MODULE::mib name.
|
||||
* @return an array consisting of the module and mib names, or null if no matching MIB is found.
|
||||
* Example:
|
||||
* snmptranslate -m all -M mibs .1.3.6.1.4.1.8072.3.2.10 2>/dev/null
|
||||
* NET-SNMP-TC::linux
|
||||
*/
|
||||
function snmp_translate($oid, $module, $mibdir = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user