Submitted by: Josh Baird
Description:
This ZenPack will allow you to monitor the Squid web-cache/proxy via SNMP using ZenOSS.
Squid Configuration
First, we need to configure Squid’s internal SNMP agent. Support for SNMP in Squid is pre-compiled in the EL5 packages, but you will need to double-check for SNMP if you are using custom based packages or source. The following goes in your squid.conf:
# Define SNMP properties
# We will proxy requestst to Squid's internal agent from net-snmp
acl snmpprivate snmp_community
snmp_port 3401
snmp_access allow snmpprivate localhost
snmp_access deny all
Now we need to tell net-snmp to proxy requests for the Squid tree to Squid’s SNMP agent on port 3401 as defined above. This belongs in your snmpd.conf:
# Proxy Squid requests to Squid SNMP Agent
view systemview included .1.3.6.1.4.1.3495.1
proxy -m /etc/squid/mib.txt -v 1 -c localhost:3401 .1.3.6.1.4.1.3495.1
Usage
Install this ZenPack and bind the “SquidMon” template to your device to enable graphs.
SquidMon ships with these graphs:
* Squid – HTTP Requests
* Squid – ICP Requests
* Squid – HTTP Service Times
* Squid – DNS Service Times
* Squid – DNS Lookups
* Squid – FQDN Cache
* Squid – Cache Hit Ratio
* Squid – File Descriptors
* Squid – Page Faults
* Squid – CPU Usage
* Squid – 5 Minute Service Time Overview
Screenshots:
REQUIREMENTS:
- Zenoss Version: 2.4
- ZenPack Dependencies:
- External Dependencies: See the description above.
- Installation: See the description above.
Source: http://zenpacks.zenoss.org/trac-zenpacks/browser/zenpacks/ZenPacks.community.SquidMon
Tagged Releases:
Change History:
- 1.0 initial release
Trac tickets: http://zenpacks.zenoss.org/trac-zenpacks/report/1
Known issues: