@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | }//end string_to_oid() |
27 | 27 | |
28 | 28 | |
29 | +/** |
|
30 | + * @param string $setting |
|
31 | + */ |
|
29 | 32 | function prep_snmp_setting($device, $setting) { |
30 | 33 | global $config; |
31 | 34 | |
@@ -46,6 +49,9 @@ discard block |
||
46 | 49 | }//end mibdir() |
47 | 50 | |
48 | 51 | |
52 | +/** |
|
53 | + * @param string $oids |
|
54 | + */ |
|
49 | 55 | function snmp_get_multi($device, $oids, $options='-OQUs', $mib=null, $mibdir=null) { |
50 | 56 | global $debug,$config,$runtime_stats,$mibs_loaded; |
51 | 57 | |
@@ -98,6 +104,9 @@ discard block |
||
98 | 104 | }//end snmp_get_multi() |
99 | 105 | |
100 | 106 | |
107 | +/** |
|
108 | + * @param string $options |
|
109 | + */ |
|
101 | 110 | function snmp_get($device, $oid, $options=null, $mib=null, $mibdir=null) { |
102 | 111 | global $debug,$config,$runtime_stats,$mibs_loaded; |
103 | 112 | |
@@ -152,6 +161,9 @@ discard block |
||
152 | 161 | }//end snmp_get() |
153 | 162 | |
154 | 163 | |
164 | +/** |
|
165 | + * @param string $options |
|
166 | + */ |
|
155 | 167 | function snmp_walk($device, $oid, $options=null, $mib=null, $mibdir=null) { |
156 | 168 | global $debug,$config,$runtime_stats; |
157 | 169 | |
@@ -965,6 +977,10 @@ discard block |
||
965 | 977 | * Load the given MIB into the database. |
966 | 978 | * @return count of objects loaded |
967 | 979 | */ |
980 | +/** |
|
981 | + * @param string $mib |
|
982 | + * @param string $module |
|
983 | + */ |
|
968 | 984 | function snmp_mib_load($mib, $module, $included_by, $mibdir = null) |
969 | 985 | { |
970 | 986 | $mibs = array(); |