From 55496bf943942367b142717ec2b4bb0d3ed42dd8 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sun, 14 Jun 2015 17:32:21 +1000 Subject: [PATCH] Add example referred to in documentation --- includes/snmp.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/snmp.inc.php b/includes/snmp.inc.php index b1fda71f5..a2526203f 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -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) {