Re: [squid-users] Monitoring multiple squid instances with snmp

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 11 Jan 2011 13:58:39 +1300

On 11/01/11 01:25, Artemis BRAJA wrote:
> Hello everyone!
>
> Can squid be directly polled on port 3401, so we don't have to configure
> snmpd.conf with :
> view systemview included .1.3.6.1.4.1.3495
> proxy -v 1 -c communitystring localhost:3401 .1.3.6.1.4.1.3495.1
> Because it seems impossible to monitor multiple squid instances on
> different snmp ports this way.
>
> Artemis

It is both possible and routinely done.

* check that snmp_port is configured in your squid.conf
* check that snmp_community matches the one requested
* check that snmp_access is configured to allow your probes (src ACL is
the only type that works reliably)

Also, use SNMP v2 to get any details in the peer or client tables. v1 or
v2 is fine for other details.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Tue Jan 11 2011 - 00:58:44 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 11 2011 - 12:00:04 MST