public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: How to handle the new translation method on a live system?
Date: Sun, 29 Nov 2026 23:19:47 +0100	[thread overview]
Message-ID: <c70653ba-6db4-4001-9ebc-fbf964041eec@ipfire.org> (raw)
In-Reply-To: <4jctpP6VvgzTq9G@michael.haj.ipfire.org>

On 29.11.2026 18:06, Michael Tremer wrote:
> Hi Matthias,

Hi Michael,

many thanks - you *really* took a closer look... ;-)

I've tweaked the update routine for po-files a bit more, but other than
that, I won't be putting too much more work into squid-graph either.
Besides, I don't know how many people other than me actually use this
tool. Not much, I think. A long time ago, I wrote something about it,
but I don't think it's very common.

> I looked into replacing squid-graph with a telemetryd source. Unfortunately, I cannot make it work in a way that I am happy with. The full investigation is in https://bugzilla.ipfire.org/show_bug.cgi?id=14949, but here is the short version:

I read that, thanks again - that would have been interesting.

> * Squid has no command that prints its statistics. `squidclient` used to do this, but it was removed in Squid 7, together with `cachemgr.cgi`. The release notes say to use curl or wget instead.

Yep. The cache manager was removed.

> * The cache manager itself still works. I built Squid 7.8 and `GET /squid-internal-mgr/counters` returns everything we would need (requests, hits, errors, bytes in and out on the client and server side). The default `http_access allow localhost manager` rule is enough.

Ok, I didn't know that, but you've got a lot more experience in these
things than me.

> * The problem is that it is only reachable over TCP on whatever `http_port` is configured. Squid has no UNIX socket for this (we do that for knot-resolver). `http_port /path` is rejected and the only UNIX sockets in the source are for its internal worker IPC.
> * All the alternatives need Squid's configuration to be known to telemetryd. Those are parsing `squid.conf`, probing ports, reading `/proc/<pid>/fd` (needs extra privileges) and SNMP. The last way out is parsing `access.log`, which is what squid-graph does and what I wanted to avoid.
> 
> I therefore don't want to add a source that guesses, so I have closed the ticket as CANTFIX. If we ever want to revisit this, a dedicated manager-only listener on a fixed localhost port in our generated `squid.conf` would make it a very small source. I would rather not do that just for this.
> 
> That means we cannot replace squid-graph with telemetryd right now. If you still want to keep it for the time being, the translation question from your original mail applies to it as before.
Too bad, but as I wrote, it could even be that I'm just one of a few
still using this tool. And my problems with the translations have been
mostly resolved - I now know what I need to do. And if my adjustments
get overwritten by oncoming updates - I got two running 'Devels' and
making any necessary adjustments takes about 10 minutes...
No problem. ;-)

Many thanks for looking into this!

Best
Matthias



  reply	other threads:[~2026-11-29 22:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 10:55 Matthias Fischer
2026-11-20 16:27 ` Michael Tremer
2026-11-27 17:58   ` Matthias Fischer
2026-11-27 18:01     ` Matthias Fischer
2026-11-28 14:10     ` Michael Tremer
2026-11-28 16:26       ` Matthias Fischer
2026-11-29 17:06         ` Michael Tremer
2026-11-29 22:19           ` Matthias Fischer [this message]
     [not found] ` <4jWKzk20n5zTq0T@michael.haj.ipfire.org>
2026-11-20 16:18   ` Matthias Fischer
2026-11-22 12:50   ` Vincent Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c70653ba-6db4-4001-9ebc-fbf964041eec@ipfire.org \
    --to=matthias.fischer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox