From: kostas <> Date: Fri, 13 Feb 1998 03:55:41 +0000 (+0000) Subject: Added new (and meaningful) variables to cacheProtoAggregateStats X-Git-Tag: SQUID_3_0_PRE1~4106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=898f451eae4d1673baf35052839b92367fe585cd;p=thirdparty%2Fsquid.git Added new (and meaningful) variables to cacheProtoAggregateStats --- diff --git a/include/cache_snmp.h b/include/cache_snmp.h index ce512ecb9e..6aae014772 100644 --- a/include/cache_snmp.h +++ b/include/cache_snmp.h @@ -168,9 +168,15 @@ enum { PERF_PROTOSTAT_MISS, PERF_PROTOSTAT_REFCOUNT, PERF_PROTOSTAT_TRNFRB, - PERF_PROTOSTAT_AGGR_CLHTTP, + PERF_PROTOSTAT_AGGR_HTTP_REQ, + PERF_PROTOSTAT_AGGR_HTTP_HITS, + PERF_PROTOSTAT_AGGR_HTTP_ERRORS, PERF_PROTOSTAT_AGGR_ICP_S, PERF_PROTOSTAT_AGGR_ICP_R, + PERF_PROTOSTAT_AGGR_ICP_SKB, + PERF_PROTOSTAT_AGGR_ICP_RKB, + PERF_PROTOSTAT_AGGR_KBYTES_IN, + PERF_PROTOSTAT_AGGR_KBYTES_OUT, PERF_PROTOSTAT_AGGR_CURSWAP, PERF_SYS_FD_NUMBER, PERF_SYS_FD_TYPE, diff --git a/src/mib.txt b/src/mib.txt index 7e9bdc72d7..2415bc83c9 100644 --- a/src/mib.txt +++ b/src/mib.txt @@ -1,7 +1,7 @@ -- File: SQUID.MIB -- kostas@nlanr.net -- Created : 11/ 2/97 kostas@nlanr.net --- Last Update: 12/1/97 kostas@nlanr.net +-- Last Update: 2/11/98 kostas@nlanr.net SQUID-MIB DEFINITIONS ::= BEGIN IMPORTS @@ -16,15 +16,7 @@ SQUID-MIB DEFINITIONS ::= BEGIN -- definitions included for standalone agent/managers -- ---mgmt OBJECT IDENTIFIER ::= { iso org(3) dod(6) internet(1) 2 } ---mib OBJECT IDENTIFIER ::= { mgmt 1 } ---directory OBJECT IDENTIFIER ::= { internet 1 } ---experimental OBJECT IDENTIFIER ::= { internet 3 } ---private OBJECT IDENTIFIER ::= { internet 4 } ---enterprises OBJECT IDENTIFIER ::= { private 1 } ---nsfnet OBJECT IDENTIFIER ::= { experimental 25 } squid OBJECT IDENTIFIER ::= { iso org(3) dod(6) internet(1) experimental(3) nsfnet(25) 17 } --- squid OBJECT IDENTIFIER ::= { nsfnet 17 } -- @@ -826,6 +818,42 @@ squid OBJECT IDENTIFIER ::= { iso org(3) dod(6) internet(1) experimental(3) ns STATUS mandatory ::= { cacheProtoAggregateStats 4 } + cacheHttpHits OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 5 } + + cacheHttpErrors OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 6 } + + cacheICPkbSent OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 7 } + + cacheICPkbRecv OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 8 } + + cacheHttpInKb OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 9 } + + cacheHttpOutKb OBJECT-TYPE + SYNTAX Counter32 + ACCESS read-only + STATUS mandatory + ::= { cacheProtoAggregateStats 10 } + --