2 * $Id: cache_snmp.h,v 1.22 1999/01/26 06:16:30 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
98 enum { /* cachePeerTable */
116 enum { /* cacheClientTable */
122 MESH_CTBL_HTHITBYTES
,
126 MESH_CTBL_ICPHITBYTES
,
168 Cache Performance Group
190 PERF_SYS_CURUNUSED_FD
,
191 PERF_SYS_CURRESERVED_FD
,
196 PERF_PROTOSTAT_START
,
198 PERF_PROTOSTAT_MEDIAN
,
203 PERF_PROTOSTAT_AGGR_START
,
204 PERF_PROTOSTAT_AGGR_HTTP_REQ
,
205 PERF_PROTOSTAT_AGGR_HTTP_HITS
,
206 PERF_PROTOSTAT_AGGR_HTTP_ERRORS
,
207 PERF_PROTOSTAT_AGGR_HTTP_KBYTES_IN
,
208 PERF_PROTOSTAT_AGGR_HTTP_KBYTES_OUT
,
209 PERF_PROTOSTAT_AGGR_ICP_S
,
210 PERF_PROTOSTAT_AGGR_ICP_R
,
211 PERF_PROTOSTAT_AGGR_ICP_SKB
,
212 PERF_PROTOSTAT_AGGR_ICP_RKB
,
213 PERF_PROTOSTAT_AGGR_REQ
,
214 PERF_PROTOSTAT_AGGR_ERRORS
,
215 PERF_PROTOSTAT_AGGR_KBYTES_IN
,
216 PERF_PROTOSTAT_AGGR_KBYTES_OUT
,
217 PERF_PROTOSTAT_AGGR_CURSWAP
,
218 PERF_PROTOSTAT_AGGR_CLIENTS
,
219 PERF_PROTOSTAT_AGGR_END
225 PERF_MEDIAN_HTTP_ALL
,
226 PERF_MEDIAN_HTTP_MISS
,
228 PERF_MEDIAN_HTTP_HIT
,
229 PERF_MEDIAN_ICP_QUERY
,
230 PERF_MEDIAN_ICP_REPLY
,