Search squid archive

Re: Monitoring multiple squid instances with snmp

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

 



On 12/01/11 04:37, Artemis BRAJA wrote:
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


Could be a few things.

* the docs may be broken (unlikely). Try without the trailing .0 to see if that looks right.

It's a percentage value being cast to an INTEGER for SNMP. So...
* it may be that you are only using 1% or 100% of a CPU by Squid. Check this against other software displaying the machines CPU.

 * the casting may be broken and rounding a large decimal up.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.10
  Beta testers wanted for 3.2.0.4


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

  Powered by Linux