acl snmppublic snmp_community mysecretcommunity
snmp_port 3401
snmp_access allow snmppublic all
Here's a ZenPack that adds a performance template for monitoring Squid in Zenoss. To use it, you'll need to enable snmp in your squid.conf (/etc/squid/squid.conf):
acl snmppublic snmp_community mysecretcommunity
snmp_port 3401
snmp_access allow snmppublic all
And configure the squid server's snmpd.conf (/etc/snmpd/snmpd.conf) to proxy these oids:
view systemview included .1.3.6.1.4.1.3495.1
proxy -m /etc/squid/mib.txt -v 1 -c mysecretcommunity localhost:3401 .1.3.6.1.4.1.3495.1
plus also label port 3401/udp as a http_cache_port_t in the selinux-policy by executing:
semanage port -a -t http_cache_port_t -p udp 3401
Then install this Squid Zenpack into zenoss, and bind the "Squid" template to your proxy servers. After a while you should see graphs similar to these: