- 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().
/*
- * $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
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;