2 * $Id: cache_snmp.h,v 1.18 1998/11/11 20:10:00 glenn Exp $
16 #define MIN(a,b) (a<b?a:b)
20 #include "snmp_impl.h"
24 #include "snmp_vars.h"
28 * .iso.org.dod.internet.private.enterprises.nlanr.squid
32 * .iso.org.dod.internet.experimental.nsfnet.proxy
36 #define SQUIDMIB 1, 3, 6, 1, 4, 1, 3495, 1
37 #define LEN_SQUIDMIB 8
39 /* basic groups under .squid */
41 #define SQ_SYS SQUIDMIB, 1
42 #define LEN_SQ_SYS LEN_SQUIDMIB+1
43 #define SQ_CONF SQUIDMIB, 2
44 #define LEN_SQ_CONF LEN_SQUIDMIB+1
45 #define SQ_PRF SQUIDMIB, 3
46 #define LEN_SQ_PRF LEN_SQUIDMIB+1
47 #define SQ_NET SQUIDMIB, 4
48 #define LEN_SQ_NET LEN_SQUIDMIB+1
49 #define SQ_MESH SQUIDMIB, 5
50 #define LEN_SQ_MESH LEN_SQUIDMIB+1
100 enum { /* cachePeerTable */
118 enum { /* cacheClientTable */
124 MESH_CTBL_HTHITBYTES
,
128 MESH_CTBL_ICPHITBYTES
,
172 Cache Performance Group
194 PERF_SYS_CURUNUSED_FD
,
195 PERF_SYS_CURRESERVED_FD
,
200 PERF_PROTOSTAT_START
,
202 PERF_PROTOSTAT_MEDIAN
,
207 PERF_PROTOSTAT_AGGR_START
,
208 PERF_PROTOSTAT_AGGR_HTTP_REQ
,
209 PERF_PROTOSTAT_AGGR_HTTP_HITS
,
210 PERF_PROTOSTAT_AGGR_HTTP_ERRORS
,
211 PERF_PROTOSTAT_AGGR_HTTP_KBYTES_IN
,
212 PERF_PROTOSTAT_AGGR_HTTP_KBYTES_OUT
,
213 PERF_PROTOSTAT_AGGR_ICP_S
,
214 PERF_PROTOSTAT_AGGR_ICP_R
,
215 PERF_PROTOSTAT_AGGR_ICP_SKB
,
216 PERF_PROTOSTAT_AGGR_ICP_RKB
,
217 PERF_PROTOSTAT_AGGR_REQ
,
218 PERF_PROTOSTAT_AGGR_ERRORS
,
219 PERF_PROTOSTAT_AGGR_KBYTES_IN
,
220 PERF_PROTOSTAT_AGGR_KBYTES_OUT
,
221 PERF_PROTOSTAT_AGGR_CURSWAP
,
222 PERF_PROTOSTAT_AGGR_END
228 PERF_MEDIAN_HTTP_ALL
,
229 PERF_MEDIAN_HTTP_MISS
,
231 PERF_MEDIAN_HTTP_HIT
,
232 PERF_MEDIAN_ICP_QUERY
,
233 PERF_MEDIAN_ICP_REPLY
,