86 const char *cp =
nullptr;
87 debugs(49, 5,
"snmp_confFn: Processing request with magic " << Var->
name[8] <<
"!");
201 if (peer->index == index) {
202 laddr = peer->in_addr ;
244 Answer->
val_len = strlen(host);
329 debugs(49, 5,
"snmp_prfSysFn: Processing request with magic " << Var->
name[
LEN_SQ_PRF + 1] <<
"!");
439 debugs(49, 5,
"snmp_prfProtoFn: Processing request with magic " << Var->
name[
LEN_SQ_PRF] <<
"!");
552 if ((minutes < 1) || (minutes > 60))
559 debugs(49, 8,
"median: min= " << minutes <<
", " << Var->
name[
LEN_SQ_PRF + 3] <<
" l= " << l <<
" , f = " << f);
560 debugs(49, 8,
"median: l= " << l <<
" , f = " << f);
const CachePeers & CurrentCachePeers()
double statHistDeltaMedian(const StatHist &A, const StatHist &B)
@ PERF_PROTOSTAT_AGGR_REQ
@ PERF_PROTOSTAT_AGGR_ICP_SKB
@ PERF_PROTOSTAT_AGGR_ICP_S
@ PERF_PROTOSTAT_AGGR_HTTP_KBYTES_IN
@ PERF_PROTOSTAT_AGGR_ICP_RKB
@ PERF_PROTOSTAT_AGGR_HTTP_ERRORS
@ PERF_PROTOSTAT_AGGR_KBYTES_OUT
@ PERF_PROTOSTAT_AGGR_ICP_R
@ PERF_PROTOSTAT_AGGR_KBYTES_IN
@ PERF_PROTOSTAT_AGGR_CLIENTS
@ PERF_PROTOSTAT_AGGR_CURSWAP
@ PERF_PROTOSTAT_AGGR_HTTP_HITS
@ PERF_PROTOSTAT_AGGR_ERRORS
@ PERF_PROTOSTAT_AGGR_HTTP_KBYTES_OUT
@ PERF_PROTOSTAT_AGGR_HTTP_REQ
@ PERF_SYS_CURRESERVED_FD
struct CachePeer::@18 stats
u_int index
n-th cache_peer directive, starting with 1
struct CachePeer::icp_ icp
static char * debugOptions
char * toStr(char *buf, const unsigned int blen, int force=AF_UNSPEC) const
ssize_t currentLevel() const
struct SquidConfig::@75 Swap
struct StatCounters::@109 dns
struct StatCounters::@105 server
struct StatCounters::@108 unlink
struct StatCounters::@106 icp
struct StatCounters::@104 client_http
struct StatCounters::@105::@115 all
double count
number of cached objects
High-level store statistics used by mgr:info action. Used inside PODs!
Mem mem
all cache_dirs stats
uint64_t maxSize() const override
void getStats(StoreInfoStats &stats) const override
collect statistics
uint64_t currentSize() const override
current size
static size_t StoreMemSize()
#define debugs(SECTION, LEVEL, CONTENT)
struct timeval squid_start
#define MAX_IPSTRLEN
Length of buffer that needs to be allocated to old a null-terminated IP-string.
double doublePercent(const double, const double)
size_t GlobalStats(PoolStats &)
Controller & Root()
safely access controller singleton
int neighborUp(const CachePeer *p)
variable_list * snmp_prfSysFn(variable_list *Var, snint *ErrP)
variable_list * snmp_sysFn(variable_list *Var, snint *ErrP)
variable_list * snmp_prfProtoFn(variable_list *Var, snint *ErrP)
variable_list * snmp_confFn(variable_list *Var, snint *ErrP)
variable_list * snmp_meshPtblFn(variable_list *Var, snint *ErrP)
const char * snmpDebugOid(oid *Name, snint Len, MemBuf &outbuf)
#define SNMP_ERR_NOSUCHNAME
#define INETADDRESSTYPE_IPV4
struct variable_list * snmp_var_new(oid *, int)
#define INETADDRESSTYPE_IPV6
struct variable_list * snmp_var_new_integer(oid *, int, int, unsigned char)
StatCounters * snmpStatGet(int minutes)
double statRequestHitRatio(int minutes)
double statByteHitRatio(int minutes)
union variable_list::@0 val
double tvSubDsec(struct timeval t1, struct timeval t2)
struct timeval current_time
the current UNIX time in timeval {seconds, microseconds} format