]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added new (and meaningful) variables to cacheProtoAggregateStats
authorkostas <>
Fri, 13 Feb 1998 03:55:41 +0000 (03:55 +0000)
committerkostas <>
Fri, 13 Feb 1998 03:55:41 +0000 (03:55 +0000)
include/cache_snmp.h
src/mib.txt

index ce512ecb9eba01de782fba5af2be91db6b0a8449..6aae0147722c95d0595791be0133790be15710f1 100644 (file)
@@ -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,
index 7e9bdc72d71a3b2b3cf3fe3da8d631aab43f63e4..2415bc83c98e1bb2e6c8b99d51c99416bde4dfcf 100644 (file)
@@ -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 }
+
 
        
        --