Search squid archive

Exclude transaction from being logged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux