Thanks Amos!
But now I'm facing another problem while trying to monitor the
percentage use of the CPU with the 1.3.6.1.4.1.3495.1.3.1.5.0 OID.
While polling (v1 or v2), it keeps returning only the value "1" (each
instance).
As I saw on the wiki http://wiki.squid-cache.org/Features/Snmp, this OID
is for squid version 2.2+, and I'm currently experimenting with version
3.2.0.4.
Is this related to the version, or am I doing something wrong?
snmpwalk -c community -v 1 localhost:3401 1.3.6.1.4.1.3495.1.3.1.5.0
SNMPv2-SMI::enterprises.3495.1.3.1.5.0 = INTEGER: 1
Artemis
On 01/11/2011 01:58 AM, Amos Jeffries wrote:
> 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
Received on Tue Jan 11 2011 - 15:37:14 MST
This archive was generated by hypermail 2.2.0 : Wed Jan 12 2011 - 12:00:02 MST