]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Addtions to the MIB
authorglenn <>
Wed, 18 Nov 1998 07:29:26 +0000 (07:29 +0000)
committerglenn <>
Wed, 18 Nov 1998 07:29:26 +0000 (07:29 +0000)
ChangeLog
src/snmp_agent.cc

index 83e9cdebe75ce6d4b952023369cc7851d4af2703..267062b5844260110bf383de49b665c4ca8b3425 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,8 +3,12 @@ Changes to Squid-2.2 ():
        - Removed all SNMP specific ACL code
          SNMP now uses generic squid ACL's
        - Removed view-based access crontrol
-       - Cleaned up and simplified squid.conf
+       - Cleaned up and simplified SNMP section of squid.conf
        - Changed the SNMP code to use a tree stucture.
+       - Added objects to MIB: 
+               Request Hit Ratio's
+               Byte Hit Ratio's
+               Number of Clients
        - Added our own assert() macro so we can use debug() instead of
          printing to stderr.
        - Added eventFreeMemory().
index b81c33dc81a6735f5d25a2fbf1ef1c33b47571eb..1b163529195752005ec3a45e7a41171a865394bb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: snmp_agent.cc,v 1.60 1998/11/18 00:16:39 glenn Exp $
+ * $Id: snmp_agent.cc,v 1.61 1998/11/18 00:29:27 glenn Exp $
  *
  * DEBUG: section 49     SNMP Interface
  * AUTHOR: Kostas Anagnostakis
@@ -473,10 +473,10 @@ snmp_prfProtoFn(variable_list * Var, snint * ErrP)
            x = statHistDeltaMedian(&l->dns.svc_time, &f->dns.svc_time);
            break;
         case PERF_MEDIAN_RHR:
-            x = statRequestHitRatio(minutes) * 100;
+            x = statRequestHitRatio(minutes);
             break;
         case PERF_MEDIAN_BHR:
-            x = statByteHitRatio(minutes) * 100;
+            x = statByteHitRatio(minutes);
             break;
        default:
            *ErrP = SNMP_ERR_NOSUCHNAME;