[squid-users] Exclude transaction from being logged

Service MV service.mv at gmail.com
Fri Feb 26 17:36:56 UTC 2021


Hi,
I recently compiled SQUID 4.14 with SNMP support. I use Zabbix to monitor
SQUID by SNMP and it really works fine.
One thing I see is that because Zabbix checks status of SQUID port then
SQUID generates a lot of logs like this:
NONE/000 0 NONE error:transaction-end-before-headers - HIER_NONE/- -

I know that this is not an error. But I want to exclude this log when the
Zabbix server checks the port status of SQUID. Zabbix server does not use
the SQUID as a proxy.

Some relevant configs (my setup is very basic and similar to defaults SQUID
config):
# SNMP monitoring with Zabbix
acl zabbix snmp_community zabbix_public
acl zabbix_proxy src x.x.x.x
snmp_port 3401
snmp_access allow zabbix zabbix_proxy
snmp_access deny all
[...]
# default SQUID rules
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny to_localhost
http_access allow localhost

# Allow users to use internet and deny to all others
http_access allow localnet
http_access deny all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210226/fe042afe/attachment.htm>


More information about the squid-users mailing list