Squid
See how busy a Squid proxy is, how well its cache is hitting, whether it is running out of file descriptors and how much traffic it has carried since it started, from its cache manager on this host with read-only requests. This plugin is in the next Secronyx release; the current download does not include it yet.
What it answers
Questions an on-call engineer asks, which an AI client can answer with this plugin.
- Is Squid running out of file descriptors?
- What is the cache hit ratio over the last 5 and 60 minutes?
- How many requests has Squid served, and how many came from the cache?
- Are requests to origin servers failing or being aborted?
- Which Squid version runs, and when did it last restart?
What it returns
Each of the plugin's read-only tools, described in words.
- Squid runtime state in one row - version, uptime, clients, requests, cache hit ratios and median service times over 5 and 60 minutes, cache size, CPU, memory and file descriptor use
- Squid totals since start in one row - client requests, cache hits, errors and kilobytes, requests and errors to origin servers, aborted requests, swap activity, page faults, CPU and wall time
At a glance
- Plugin
- squid 1.0.0
- Publisher
- levantar
- Platforms
- Linux
Tested on
- Squid 6.10 and 6.13 on Linux (Ubuntu 24.04, Docker), test lab
How it logs in
Without an explicit choice, install tries the methods that need no secret first, in this order.
- No login (a local endpoint)
- A user name and password
The least-privilege login
The setup file in the pack. secronyx plugin setup squid prints it; an administrator applies it by hand.
See it run
Read-only, in layers
Every request is a GET or HEAD to the endpoint the operator configured, on a path fixed in the signed pack. Redirects are not followed, and requests known to change state are refused.
These controls narrow what the plugin can do; none of them is a guarantee on its own. An administrator can still accept a more powerful login on purpose (audited and shown in status), root or Administrator on the host can replace the agent, and the plugin can read whatever its login can see.