Collector Type: Agent

Category: Application Monitors

Application Name: Squid

Global Template Name: Linux - Squid Monitors

Introduction

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

Parameters

NameDefault ValueDescription
IP Address127.0.0.1The host on which squid is running.
Port3128The port on which squid is running.
UsernameNAThe username of the squid server.
PasswordNAThe password of the squid server.

Note: All field attributes are mandatory, use default values wherever applicable.

Collected Metrics

Metric NameDisplay NameDescription
squid.clientsSquid ClientsNumber of clients accessing cache, client actually means IP address. Squid assumes that each client has a unique IP address.
squid.cache.hit.ratioSquid Cache Hit RatioThe percentage of HTTP requests that result in a cache hit.
squid.cache.byte.hit.ratioSquid Cache Byte Hit RatioSquid calculates byte hit ratio by comparing the number of bytes received from origin servers (or neighbors) to the number of bytes sent to clients.
squid.request.memory.hit.ratioSquid Request Memory Hit RatioThese values represent the percentage of all cache hits that were served from memory.
squid.requests.disk.hit.ratioSquid Requests Disk Hit RatioThese values represent the percentage of plain cache hits served from disk.
squid.request.failure.ratioSquid Request Failure RatioThe average ratio between the number of failed and successful requests.
squid.client.http.requestsSquid Client Http RequestsThe rate of the number of HTTP requests.
squid.client.http.errorsSquid Client Http ErrorsThe rate of the number of HTTP errors.
squid.client.http.traffic.inSquid Client Http Traffic InRate of request data traffic received from clients.
squid.client.http.traffic.outSquid Client Http Traffic OutRate of response data traffic sent to clients.
squid.server.traffic.inSquid Server Traffic InRate of traffic read by server for all protocols.
squid.server.traffic.outSquid Server Traffic OutRate of traffic written to origin servers for all protocols.
squid.server.requestsSquid Server RequestsRate of server-side requests to HTTP servers.
squid.server.errorsSquid Server ErrorsSquid Server Errors.
squid.client.http.traffic.inSquid Client Http Traffic InRate of request data traffic received from clients.
squid.client.http.traffic.outSquid Client Http Traffic OutRate of response data traffic sent to clients.
squid.server.traffic.inSquid Server Traffic InRate of traffic read by server for all protocols.
squid.server.traffic.outSquid Server Traffic OutRate of traffic written to origin servers for all protocols.
squid.server.requestsSquid Server RequestsRate of server-side requests to HTTP servers.
squid.server.errorsSquid Server ErrorsRate of server requests that resulted in error.
squid.page.faultsSquid Page FaultsPage faults with physical i/o.
squid.aborted.requestsSquid Aborted RequestsRate of aborted requests.
squid.unlink.requestsSquid Unlink RequestsRate of unlink requests.
squid.select.loopsSquid Select LoopsRate of select loops called.
squid.icp.packets.receivedSquid ICP Packets ReceivedRate of ICP packets received.
squid.icp.packets.sentSquid ICP Packets SentRate of ICP packets sent.
squid.icp.messages.receivedSquid ICP Messages ReceivedThe total number of ICP messages received since Squid was started.
squid.icp.messages.sentSquid ICP Messages SentThe total number of ICP messages sent since Squid was started.
squid.icp.replies.queuedSquid ICP Replies QueuedThis counter shows how many times an ICP message was queued for re-transmission.
squid.icp.traffic.inSquid ICP Traffic InAmount of ICP data received.
squid.icp.traffic.outSquid ICP Traffic OutAmount of ICP data sent.
squid.ip.cache.entriesSquid IP Cache EntriesNumber of IP cache entries.
squid.fqdn.cache.entriesSquid FQDN Cache EntriesNumber of FQDN cache entries.
squid.ip.cache.statisticsSquid IP Cache Statistics RequestThe IP cache contains cached results of hostname-to-address lookups.
squid.fqdn.cache.statisticsSquid FQDN Cache Statistics RequestsThe FQDN cache is similar to the IP cache, except that it stores address-to-hostname lookups.
squid.service.timesSquid Service Times RequestsThe median of various service time (or response time) distributions.