On 2024-02-28 08:52, Francesco Chemolli wrote:
just replace
squidclient mgr:objects
with
curl --silent --user squid_cachemgr_user:squd_cachemgr_password
http://squid.host.name:3128/squid-internal-mgr/objects
Neither is required for basic cases, but it is better, IMHO, to use
--no-progress-meter instead of error-hiding --silent.
One only needs --user when accessing password-protected reports.
The biggest difficulty in this conversion is with guessing what hostname
a modern Squid will recognize as its own. And the correct guess is
likely to change when we fix the remaining bugs.
Cheers,
Alex.
(and of course replace port 3128 with whatever port you're using for Squid)
Everything else is the same as previously.
Also, the same applies to all other cachemgr reports:
curl --silent --user squid_cachemgr_user:squd_cachemgr_password
http://squid.host.name:3128/squid-internal-mgr/menu
<http://squid.host.name:3128/squid-internal-mgr/menu>
will give you the list of available subpages; replace menuwith the
subpage name to access any
What could be an equivalent using curl/wget?
bye & Thanks
av.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
<mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx>
https://lists.squid-cache.org/listinfo/squid-users
<https://lists.squid-cache.org/listinfo/squid-users>
--
Francesco
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users